# Encryption outside Singlestore DB and Descryption inside singlestore

**URL:** <https://www.singlestore.com/forum/t/encryption-outside-singlestore-db-and-descryption-inside-singlestore/4298>\
**Category:** Security\
**Tags:** pipelines\
**Created:** [March 25, 2022, 5:41pm UTC](https://www.singlestore.com/forum/t/encryption-outside-singlestore-db-and-descryption-inside-singlestore/4298 "2022-03-25T17:41:48Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![hanson](https://www.singlestore.com/forum/user_avatar/www.singlestore.com/hanson/32/196_2.png) [@hanson](https://www.singlestore.com/forum/u/hanson)\
**Post date:** [March 25, 2022, 7:05pm UTC](https://www.singlestore.com/forum/t/encryption-outside-singlestore-db-and-descryption-inside-singlestore/4298/2 "2022-03-25T19:05:30Z")

</div>

Is it related to the issue identified on your other post?

> [@Aes\_encrypt and aes\_decrypt](https://www.singlestore.com/forum/t/aes-encrypt-and-aes-decrypt/4280):
>
> select hex(AES\_ENCRYPT(‘secret message’, ‘A1A2A3A4A5A6CAFE’)); It returns → 71990030B38EB0626A4F56B32E103A8F SELECT AES\_DECRYPT(unhex(‘71990030B38EB0626A4F56B32E103A8F’), ‘A1A2A3A4A5A6CAFE’); It returns → 73 65 63 72 65 74 20 6d 65 73 73 61 67 65 Just following the site example and not working as expected. Any isssue? Singlestore version → 7.6.11

---

_[View the full topic](https://www.singlestore.com/forum/t/encryption-outside-singlestore-db-and-descryption-inside-singlestore/4298)._
