Symmetric encryption sample code

"Bertrand LUPART - Linkeo.com" <[email protected]> Tue, 30 Apr 2019 15:52:08 +0200
Newsgroups gmane.comp.lang.pike.user
Message-ID <[email protected]>
Hello,


Would someone share sample code of symmetric encryption using Pike ? (my target's Pike 7.6)

My goal is to crypt a 20/30 char string using a pre-shared secret and a widespread cipher so that my recipient could decipher it with the technology he'd prefer.

I'm a bit lost in Crypto module reference.


Thank you,

-- 
Bertrand LUPART
smime.p7s (application/pkcs7-signature, 3.8 KB) - not displayed