SymmetricAlgorithm.setKey

Set the symmetric key of this object.

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

Parameters

key Vector!(ubyte, Alloc)

the SymmetricKey to be set.

Meta