XXTEA.encrypt

Undocumented in source. Be warned that the author may not have intended to support it.
  1. ubyte[] encrypt(ubyte[] data, ubyte[] key)
  2. ubyte[] encrypt(T data, U key)
    class XXTEA
    pure static
    ubyte[]
    encrypt
    (
    T
    U
    )
    (
    in T data
    ,
    in U key
    )
    if (
    (
    isSomeString!T ||
    is(T == byte[])
    ||
    is(T == ubyte[])
    )
    &&
    (
    isSomeString!U ||
    is(U == byte[])
    ||
    is(U == ubyte[])
    )
    )

Meta