NewCipher is the constructor for a new Cipher object
()
| 47 | |
| 48 | // NewCipher is the constructor for a new Cipher object |
| 49 | func NewCipher() Cipher { |
| 50 | return Cipher{ |
| 51 | stash: make(map[stashKey][]byte), |
| 52 | } |
| 53 | } |
| 54 | |
| 55 | var encre = regexp.MustCompile(`^ENC\[AES256_GCM,data:(.+),iv:(.+),tag:(.+),type:(.+)\]`) |
| 56 |
no outgoing calls