---
title: "Discussion on \"How to encrypt your text messages in flutter using Encrypt package\" | Hashnode"
description: "Discussion on \"How to encrypt your text messages in flutter using Encrypt package\". Install Encrypt package from https://pub.dev/packages/encrypt\nImport your package import 'package:encrypt/encrypt.dart' as enc;\nUse the below code for encryption and decryption\nPoint to remember key length should be either 32 lengths,64 length and 12..."
url: "https://hashnode.com/posts/how-to-encrypt-your-text-messages-in-flutter-using-encrypt-package/6305b75b47cfea48d095b19e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to encrypt your text messages in flutter using Encrypt package](https://amandevblogs.hashnode.dev/how-to-encrypt-your-text-messages-in-flutter-using-encrypt-package?utm_source=hashnode&utm_medium=feed)

Install Encrypt package from https://pub.dev/packages/encrypt Import your package import 'package:encrypt/encrypt.dart' as enc; Use the below code for encryption and decryption Point to remember key length should be either 32 lengths,64 length and 12...

Aug 24, 2022 · 1 min read · amandevblogs.hashnode.dev  
Read the article

-   [#flutter](https://hashnode.com/tag/flutter)
-   [#encryption](https://hashnode.com/tag/encryption)

## Written by

[Aman](https://hashnode.com/@amandev)

@amandev · Dehradun India

  
[View profile](https://hashnode.com/@amandev)

Less talking more coding

Somethings about me JAVA for DS JAVASCRIPT FOR CREATIVITY HASHNODE For Blogs Node Js Because i love how things works behind the scene And love you because you visit me

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
