Documentation
    Preparing search index...

    Interface IEncryptionPassword

    Encryption password.

    IEncryptionPassword is a type of interface who represents encryption password used by the Fetcher with AES-128/192/256 algorithm. If your encryption password is not fixed but changes according to the input content, you can utilize the IEncryptionPassword.Closure function type.

    Jeongho Nam - https://github.com/samchon

    contracts/common.md#principled-implementation A key and an initialization vector are the two inputs of AES-CBC, so the interface holds exactly them, as strings that AesPkcs5 reads as UTF-8 bytes.

    contracts/common.md#clear-and-simple-design A two-field record whose namespace adds the closure form for passwords that depend on the message.

    contracts/common.md#prohibited-implementation-shortcuts It is a type and adds no runtime behavior.

    contracts/common.md#meaningful-documentation The comment says what the object represents and links the closure form.

    interface IEncryptionPassword {
        iv: string;
        key: string;
    }
    Index
    iv: string

    Initialization Vector.

    key: string

    Secret key.