Skip to content

Instantly share code, notes, and snippets.

func NewLegacyCryptoModule(cipherKey string, randomIv bool) (CryptorModule, error) {
legacyCryptoAlgorithm, e := NewLegacyCryptoAlgorithm(cipherKey, randomIv)
if e != nil {
return nil, e
}
aesCBCCryptoAlgorithm, e := NewAesCBCCryptoAlgorithm(cipherKey)
if e != nil {
return nil, e
}
{
"info": {
"_postman_id": "e681fbe3-b1ae-4c02-a708-55b7a3f54aea",
"name": "new",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "lvl1",
"item": [