# Asymmetric and symmetric encryption in Legato

**URL:** https://forum.legato.io/t/asymmetric-and-symmetric-encryption-in-legato/5541
**Category:** Legato Application Framework
**Created:** [December 12, 2020, 9:12pm UTC](https://forum.legato.io/t/asymmetric-and-symmetric-encryption-in-legato/5541 "2020-12-12T21:12:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jeremyinvictoria](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jeremyinvictoria](https://forum.legato.io/u/jeremyinvictoria)
#### Post date: [December 12, 2020, 9:12pm UTC](https://forum.legato.io/t/asymmetric-and-symmetric-encryption-in-legato/5541/1 "2020-12-12T21:12:16Z")

</div>

Does Legato framework provide built-in Asymmetric and symmetric encryption library?

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)
#### Post date: [December 13, 2020, 2:39am UTC](https://forum.legato.io/t/asymmetric-and-symmetric-encryption-in-legato/5541/2 "2020-12-13T02:39:50Z")

</div>

Does the ssl library help?

---

<div class="post-metadata">

### Author: ![jeremyinvictoria](https://avatars.discourse-cdn.com/v4/letter/j/e19b73/32.png) [@jeremyinvictoria](https://forum.legato.io/u/jeremyinvictoria)
#### Post date: [December 15, 2020, 11:46pm UTC](https://forum.legato.io/t/asymmetric-and-symmetric-encryption-in-legato/5541/3 "2020-12-15T23:46:13Z")

</div>

I’m looking for a encryption/decryption library in which I can encrypt a string with a public key, then transmit the encrypted string via SMS to an Android device, then the Android side can decrypt the string using its private key.

---

<div class="post-metadata">

### Author: ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)
#### Post date: [December 16, 2020, 12:49am UTC](https://forum.legato.io/t/asymmetric-and-symmetric-encryption-in-legato/5541/4 "2020-12-16T00:49:20Z")

</div>

you can see here:

> <https://stackoverflow.com/questions/10106771/encrypt-a-string-using-openssl-command-line>
