Maven module :un.api : api-encoding :
Class :
un.impl.cryptography.algorithms.Salsa20
Extends/Implements :
un.impl.cryptography.algorithms.CipherAlgorithm
Subclasses : -
Variables : -
Functions :
cipher,
invCipher,
getNewCipher,
circularLeftShift,
quarterRound,
rowRound,
columnRound,
doubleRound,
littleEndian,
invLittleEndian,
hash,
expansion,
encryption,
main,
byteArrayToHexString,
byteArrayToString
public byte[]
cipher (byte[] input)
public byte[]
invCipher (byte[] input)
public CipherAlgorithm
getNewCipher (byte[] key)
public int
circularLeftShift (int register, int leftShift)
public int[]
quarterRound (int[] y)
public int[]
rowRound (int[] y)
public int[]
columnRound (int[] x)
public int[]
doubleRound (int[] x)
public int
littleEndian (byte[] b)
public byte[]
invLittleEndian (int w)
public byte[]
hash (byte[] x)
public byte[]
expansion (byte[] k, byte[] n)
public byte[]
encryption (byte[] k, byte[] v, byte[] m)
public void
main (String[] args)
public String
byteArrayToHexString (byte[] byteArray)
public String
byteArrayToString (byte[] byteArray)
http://edipermadi.files.wordpress.com/2008/06/salsa20-spec.pdf
author Bertrand COTE