SymmetricAlgorithm.setKey

Set the symmetric key of this object.

  1. void setKey(SymmetricKey key)
  2. void setKey(RefCounted!(Vector!(ubyte, Alloc), Alloc) key)
    interface SymmetricAlgorithm
    public final
    void
    setKey
    (
    Alloc
    )
    (
    auto const ref RefCounted!(Vector!(ubyte, Alloc), Alloc) key
    )
  3. void setKey(Vector!(ubyte, Alloc) key)
  4. void setKey(const(ubyte)* key, size_t length)

Parameters

key RefCounted!(Vector!(ubyte, Alloc), Alloc)

the SymmetricKey to be set.

Meta