MCPcopy Create free account
hub / github.com/StackStorm/st2 / symmetric_encrypt

Function symmetric_encrypt

st2common/st2common/util/crypto.py:212–213  ·  view source on GitHub ↗
(encrypt_key, plaintext)

Source from the content-addressed store, hash-verified

210
211
212def symmetric_encrypt(encrypt_key, plaintext):
213 return cryptography_symmetric_encrypt(encrypt_key=encrypt_key, plaintext=plaintext)
214
215
216def symmetric_decrypt(decrypt_key, ciphertext):

Calls 1