BlockCipher.encrypt

Encrypt one or more blocks

  1. void encrypt(const(ubyte)* input, ubyte* output)
  2. void encrypt(ubyte* block)
  3. void encrypt(ubyte[] block)
  4. void encrypt(Vector!(ubyte, Alloc) block)
  5. void encrypt(Vector!(ubyte, Alloc) input, Vector!(ubyte, Alloc2) output)
    interface BlockCipher
    public final
    void
    encrypt
    (
    Alloc
    Alloc2
    )
    (
    auto const ref Vector!(ubyte, Alloc) input
    ,
    ref Vector!(ubyte, Alloc2) output
    )
  6. void encrypt(ubyte[] input, ubyte[] output)

Parameters

input Vector!(ubyte, Alloc)

the input buffer (multiple of blockSize())

output Vector!(ubyte, Alloc2)

the output buffer (same size as input)

Meta