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)
  4. void setKey(const(ubyte)* key, size_t length)
    interface SymmetricAlgorithm
    final
    void
    setKey
    (
    const(ubyte)* key
    ,
    size_t length
    )

Parameters

key const(ubyte)*

the to be set as a ubyte array.

length size_t

in bytes of key param

Meta