AESEncryptor class

AES-CTR (SIC) with PKCS7 padding and a zero IV. The output is the same as the old encrypt package gave with Encrypter(AES(key)), so cookies and cache files made before still decode.

Constructors

AESEncryptor()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

decode(String content, String secret) → String
decode a message
encode(String content, String secret) → String
encode a message