diff --git a/README.md b/README.md index 4c3030b..5320a48 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,10 @@ Tietorakenteiden ja algoritmien harjoitustyö periodille IV 2018-2019. Tarkoituksena on verrata DES, 3DES, AES (useita eri moodeja, kuten ECB, CBC, CTR), tarkalleen ottaen niiden nopeuksia, muistin käyttöä sekä toteutusta. * [Vaatimusmäärittely](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/vaatimusmaarittely.md) -* Viikkoraportit: [1](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko1.md) [2](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko2.md) [3](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko3.md) [4](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko4.md) [5](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko5.md) +* Viikkoraportit: [1](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko1.md) [2](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko2.md) [3](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko3.md) [4](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko4.md) [5](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko5.md) [6](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/viikko6.md) * [Testaus](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/testaus.md) * [Toteutus](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/toteutus.md) * [Käyttöohje](https://github.com/hisahi/tiralabra-2019-des-aes/blob/master/doc/ohje.md) +* [Javadocs](https://github.com/hisahi/tiralabra-2019-des-aes/tree/master/doc/javadoc) + diff --git a/doc/javadoc/allclasses-frame.html b/doc/javadoc/allclasses-frame.html new file mode 100644 index 0000000..9951ee6 --- /dev/null +++ b/doc/javadoc/allclasses-frame.html @@ -0,0 +1,45 @@ + + + + + +All Classes (kryptoa API) + + + + + +

All Classes

+
+ +
+ + diff --git a/doc/javadoc/allclasses-noframe.html b/doc/javadoc/allclasses-noframe.html new file mode 100644 index 0000000..e03a42a --- /dev/null +++ b/doc/javadoc/allclasses-noframe.html @@ -0,0 +1,45 @@ + + + + + +All Classes (kryptoa API) + + + + + +

All Classes

+
+ +
+ + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/Base64OutputStream.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/Base64OutputStream.html new file mode 100644 index 0000000..8c7ea69 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/Base64OutputStream.html @@ -0,0 +1,341 @@ + + + + + +Base64OutputStream (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes
+

Class Base64OutputStream

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/HexOutputStream.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/HexOutputStream.html new file mode 100644 index 0000000..4652ba0 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/HexOutputStream.html @@ -0,0 +1,341 @@ + + + + + +HexOutputStream (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes
+

Class HexOutputStream

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/MT19937.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/MT19937.html new file mode 100644 index 0000000..57c1dde --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/MT19937.html @@ -0,0 +1,317 @@ + + + + + +MT19937 (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes
+

Class MT19937

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/PaddingRemoverWriter.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/PaddingRemoverWriter.html new file mode 100644 index 0000000..21b32d2 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/PaddingRemoverWriter.html @@ -0,0 +1,318 @@ + + + + + +PaddingRemoverWriter (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes
+

Class PaddingRemoverWriter

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/StreamBlockReader.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/StreamBlockReader.html new file mode 100644 index 0000000..b789678 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/StreamBlockReader.html @@ -0,0 +1,323 @@ + + + + + +StreamBlockReader (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes
+

Class StreamBlockReader

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/Utils.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/Utils.html new file mode 100644 index 0000000..ff0f5c8 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/Utils.html @@ -0,0 +1,523 @@ + + + + + +Utils (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes
+

Class Utils

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/VoidOutputStream.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/VoidOutputStream.html new file mode 100644 index 0000000..55741ca --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/VoidOutputStream.html @@ -0,0 +1,300 @@ + + + + + +VoidOutputStream (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes
+

Class VoidOutputStream

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/BlockModeCBC.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/BlockModeCBC.html new file mode 100644 index 0000000..3f0d4da --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/BlockModeCBC.html @@ -0,0 +1,410 @@ + + + + + +BlockModeCBC (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.blockmodes
+

Class BlockModeCBC

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/BlockModeCTR.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/BlockModeCTR.html new file mode 100644 index 0000000..bbfb39e --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/BlockModeCTR.html @@ -0,0 +1,412 @@ + + + + + +BlockModeCTR (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.blockmodes
+

Class BlockModeCTR

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/BlockModeECB.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/BlockModeECB.html new file mode 100644 index 0000000..a7ed42c --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/BlockModeECB.html @@ -0,0 +1,412 @@ + + + + + +BlockModeECB (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.blockmodes
+

Class BlockModeECB

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/IBlockMode.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/IBlockMode.html new file mode 100644 index 0000000..c4b567e --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/IBlockMode.html @@ -0,0 +1,334 @@ + + + + + +IBlockMode (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.blockmodes
+

Interface IBlockMode

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/package-frame.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/package-frame.html new file mode 100644 index 0000000..2d39292 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/package-frame.html @@ -0,0 +1,26 @@ + + + + + +com.github.hisahi.tiralabradesaes.blockmodes (kryptoa API) + + + + + +

com.github.hisahi.tiralabradesaes.blockmodes

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/package-summary.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/package-summary.html new file mode 100644 index 0000000..d170292 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/package-summary.html @@ -0,0 +1,182 @@ + + + + + +com.github.hisahi.tiralabradesaes.blockmodes (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package com.github.hisahi.tiralabradesaes.blockmodes

+
+
Package containing the block cipher mode of operation interface + as well as three implementations for it: ECB, CBC and CTR.
+
+

See: Description

+
+
+ + + + +

Package com.github.hisahi.tiralabradesaes.blockmodes Description

+
Package containing the block cipher mode of operation interface + as well as three implementations for it: ECB, CBC and CTR.
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/package-tree.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/package-tree.html new file mode 100644 index 0000000..a6a8f75 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/blockmodes/package-tree.html @@ -0,0 +1,141 @@ + + + + + +com.github.hisahi.tiralabradesaes.blockmodes Class Hierarchy (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package com.github.hisahi.tiralabradesaes.blockmodes

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherAES.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherAES.html new file mode 100644 index 0000000..5b62f50 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherAES.html @@ -0,0 +1,410 @@ + + + + + +CipherAES (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.ciphers
+

Class CipherAES

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherChaCha20.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherChaCha20.html new file mode 100644 index 0000000..fa977d1 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherChaCha20.html @@ -0,0 +1,365 @@ + + + + + +CipherChaCha20 (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.ciphers
+

Class CipherChaCha20

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherDES.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherDES.html new file mode 100644 index 0000000..0a2b492 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherDES.html @@ -0,0 +1,409 @@ + + + + + +CipherDES (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.ciphers
+

Class CipherDES

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherTripleDES.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherTripleDES.html new file mode 100644 index 0000000..6dc2547 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/CipherTripleDES.html @@ -0,0 +1,411 @@ + + + + + +CipherTripleDES (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.ciphers
+

Class CipherTripleDES

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/IBlockCipher.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/IBlockCipher.html new file mode 100644 index 0000000..59766d6 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/IBlockCipher.html @@ -0,0 +1,339 @@ + + + + + +IBlockCipher (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.ciphers
+

Interface IBlockCipher

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/IStreamCipher.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/IStreamCipher.html new file mode 100644 index 0000000..89c2a1b --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/IStreamCipher.html @@ -0,0 +1,300 @@ + + + + + +IStreamCipher (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.ciphers
+

Interface IStreamCipher

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/package-frame.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/package-frame.html new file mode 100644 index 0000000..e54ed85 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/package-frame.html @@ -0,0 +1,28 @@ + + + + + +com.github.hisahi.tiralabradesaes.ciphers (kryptoa API) + + + + + +

com.github.hisahi.tiralabradesaes.ciphers

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/package-summary.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/package-summary.html new file mode 100644 index 0000000..3c84e23 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/package-summary.html @@ -0,0 +1,195 @@ + + + + + +com.github.hisahi.tiralabradesaes.ciphers (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package com.github.hisahi.tiralabradesaes.ciphers

+
+
Package containing the cryptographic cipher interface as well as + three implementations of it: DES, 3DES and AES.
+
+

See: Description

+
+
+ + + + +

Package com.github.hisahi.tiralabradesaes.ciphers Description

+
Package containing the cryptographic cipher interface as well as + three implementations of it: DES, 3DES and AES.
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/package-tree.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/package-tree.html new file mode 100644 index 0000000..62bfa61 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ciphers/package-tree.html @@ -0,0 +1,143 @@ + + + + + +com.github.hisahi.tiralabradesaes.ciphers Class Hierarchy (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package com.github.hisahi.tiralabradesaes.ciphers

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA1.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA1.html new file mode 100644 index 0000000..faba42d --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA1.html @@ -0,0 +1,355 @@ + + + + + +HashSHA1 (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.hash
+

Class HashSHA1

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_224.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_224.html new file mode 100644 index 0000000..637fa22 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_224.html @@ -0,0 +1,415 @@ + + + + + +HashSHA2_224 (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.hash
+

Class HashSHA2_224

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_256.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_256.html new file mode 100644 index 0000000..6c7d434 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_256.html @@ -0,0 +1,540 @@ + + + + + +HashSHA2_256 (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.hash
+

Class HashSHA2_256

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_384.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_384.html new file mode 100644 index 0000000..6e698fd --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_384.html @@ -0,0 +1,415 @@ + + + + + +HashSHA2_384 (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.hash
+

Class HashSHA2_384

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_512.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_512.html new file mode 100644 index 0000000..cb57e4a --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/HashSHA2_512.html @@ -0,0 +1,540 @@ + + + + + +HashSHA2_512 (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.hash
+

Class HashSHA2_512

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/IHashFunction.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/IHashFunction.html new file mode 100644 index 0000000..4f88b21 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/IHashFunction.html @@ -0,0 +1,290 @@ + + + + + +IHashFunction (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.hash
+

Interface IHashFunction

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/package-frame.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/package-frame.html new file mode 100644 index 0000000..4aefce4 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/package-frame.html @@ -0,0 +1,28 @@ + + + + + +com.github.hisahi.tiralabradesaes.hash (kryptoa API) + + + + + +

com.github.hisahi.tiralabradesaes.hash

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/package-summary.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/package-summary.html new file mode 100644 index 0000000..cfea754 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/package-summary.html @@ -0,0 +1,194 @@ + + + + + +com.github.hisahi.tiralabradesaes.hash (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package com.github.hisahi.tiralabradesaes.hash

+
+
Package containing the hash interface and 5 implementations for it: + SHA-1, SHA2-224, SHA2-256, SHA2-384 and SHA2-512.
+
+

See: Description

+
+
+ + + + +

Package com.github.hisahi.tiralabradesaes.hash Description

+
Package containing the hash interface and 5 implementations for it: + SHA-1, SHA2-224, SHA2-256, SHA2-384 and SHA2-512.
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/package-tree.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/package-tree.html new file mode 100644 index 0000000..0b18a3f --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/hash/package-tree.html @@ -0,0 +1,149 @@ + + + + + +com.github.hisahi.tiralabradesaes.hash Class Hierarchy (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package com.github.hisahi.tiralabradesaes.hash

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/HMACFunction.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/HMACFunction.html new file mode 100644 index 0000000..7fb3b46 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/HMACFunction.html @@ -0,0 +1,350 @@ + + + + + +HMACFunction (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.keyderiv
+

Class HMACFunction

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/IKeyDerivation.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/IKeyDerivation.html new file mode 100644 index 0000000..3edd35b --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/IKeyDerivation.html @@ -0,0 +1,313 @@ + + + + + +IKeyDerivation (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.keyderiv
+

Interface IKeyDerivation

+
+
+
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/KeyDerivPBKDF2.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/KeyDerivPBKDF2.html new file mode 100644 index 0000000..4c116dd --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/KeyDerivPBKDF2.html @@ -0,0 +1,391 @@ + + + + + +KeyDerivPBKDF2 (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.keyderiv
+

Class KeyDerivPBKDF2

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/package-frame.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/package-frame.html new file mode 100644 index 0000000..ca61307 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/package-frame.html @@ -0,0 +1,25 @@ + + + + + +com.github.hisahi.tiralabradesaes.keyderiv (kryptoa API) + + + + + +

com.github.hisahi.tiralabradesaes.keyderiv

+
+

Interfaces

+ +

Classes

+ +
+ + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/package-summary.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/package-summary.html new file mode 100644 index 0000000..324b77c --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/package-summary.html @@ -0,0 +1,180 @@ + + + + + +com.github.hisahi.tiralabradesaes.keyderiv (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package com.github.hisahi.tiralabradesaes.keyderiv

+
+
Package containing the key derivation function interface and an + implementation of PBKDF2 as well as HMAC used by PBKDF2.
+
+

See: Description

+
+
+ + + + +

Package com.github.hisahi.tiralabradesaes.keyderiv Description

+
Package containing the key derivation function interface and an + implementation of PBKDF2 as well as HMAC used by PBKDF2.
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/package-tree.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/package-tree.html new file mode 100644 index 0000000..2149137 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/keyderiv/package-tree.html @@ -0,0 +1,140 @@ + + + + + +com.github.hisahi.tiralabradesaes.keyderiv Class Hierarchy (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package com.github.hisahi.tiralabradesaes.keyderiv

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/package-frame.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/package-frame.html new file mode 100644 index 0000000..f87a7b1 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/package-frame.html @@ -0,0 +1,26 @@ + + + + + +com.github.hisahi.tiralabradesaes (kryptoa API) + + + + + +

com.github.hisahi.tiralabradesaes

+
+

Classes

+ +
+ + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/package-summary.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/package-summary.html new file mode 100644 index 0000000..5c05ea1 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/package-summary.html @@ -0,0 +1,193 @@ + + + + + +com.github.hisahi.tiralabradesaes (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package com.github.hisahi.tiralabradesaes

+
+
The main package for the program, containing assorted classes, such as + utilities and padding code.
+
+

See: Description

+
+
+ + + + +

Package com.github.hisahi.tiralabradesaes Description

+
The main package for the program, containing assorted classes, such as + utilities and padding code.
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/package-tree.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/package-tree.html new file mode 100644 index 0000000..2c9b9c8 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/package-tree.html @@ -0,0 +1,145 @@ + + + + + +com.github.hisahi.tiralabradesaes Class Hierarchy (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package com.github.hisahi.tiralabradesaes

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/TestMain.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/TestMain.html new file mode 100644 index 0000000..1d8df00 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/TestMain.html @@ -0,0 +1,305 @@ + + + + + +TestMain (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.ui
+

Class TestMain

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/VoidOutputStream.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/VoidOutputStream.html new file mode 100644 index 0000000..7b3f871 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/VoidOutputStream.html @@ -0,0 +1,294 @@ + + + + + +VoidOutputStream (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + + +
+
com.github.hisahi.tiralabradesaes.ui
+

Class VoidOutputStream

+
+
+ +
+ +
+
+ +
+
+ +
+
+ + +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/package-frame.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/package-frame.html new file mode 100644 index 0000000..b5c1e04 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/package-frame.html @@ -0,0 +1,20 @@ + + + + + +com.github.hisahi.tiralabradesaes.ui (kryptoa API) + + + + + +

com.github.hisahi.tiralabradesaes.ui

+
+

Classes

+ +
+ + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/package-summary.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/package-summary.html new file mode 100644 index 0000000..689c4ce --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/package-summary.html @@ -0,0 +1,151 @@ + + + + + +com.github.hisahi.tiralabradesaes.ui (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Package com.github.hisahi.tiralabradesaes.ui

+
+
Package containing the program interface code, including code for the + command line program.
+
+

See: Description

+
+
+ + + + +

Package com.github.hisahi.tiralabradesaes.ui Description

+
Package containing the program interface code, including code for the + command line program.
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/package-tree.html b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/package-tree.html new file mode 100644 index 0000000..fd30e22 --- /dev/null +++ b/doc/javadoc/com/github/hisahi/tiralabradesaes/ui/package-tree.html @@ -0,0 +1,135 @@ + + + + + +com.github.hisahi.tiralabradesaes.ui Class Hierarchy (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For Package com.github.hisahi.tiralabradesaes.ui

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/constant-values.html b/doc/javadoc/constant-values.html new file mode 100644 index 0000000..5649648 --- /dev/null +++ b/doc/javadoc/constant-values.html @@ -0,0 +1,122 @@ + + + + + +Constant Field Values (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Constant Field Values

+

Contents

+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/deprecated-list.html b/doc/javadoc/deprecated-list.html new file mode 100644 index 0000000..27aabaf --- /dev/null +++ b/doc/javadoc/deprecated-list.html @@ -0,0 +1,122 @@ + + + + + +Deprecated List (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Deprecated API

+

Contents

+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/help-doc.html b/doc/javadoc/help-doc.html new file mode 100644 index 0000000..794550c --- /dev/null +++ b/doc/javadoc/help-doc.html @@ -0,0 +1,223 @@ + + + + + +API Help (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

How This API Document Is Organized

+
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
+
+
+ +This help file applies to API documentation generated using the standard doclet.
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/index-all.html b/doc/javadoc/index-all.html new file mode 100644 index 0000000..5345839 --- /dev/null +++ b/doc/javadoc/index-all.html @@ -0,0 +1,825 @@ + + + + + +Index (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
B C D F G H I K M N P R S T U V W  + + +

B

+
+
Base64OutputStream - Class in com.github.hisahi.tiralabradesaes
+
+
An output stream that writes the bytes encoded as Base64 into the + underlying PrintStream.
+
+
Base64OutputStream(PrintStream) - Constructor for class com.github.hisahi.tiralabradesaes.Base64OutputStream
+
 
+
BlockModeCBC - Class in com.github.hisahi.tiralabradesaes.blockmodes
+
+
Implements the CBC, or Cipher Block Chaining, block mode of operation.
+
+
BlockModeCBC(IBlockCipher) - Constructor for class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCBC
+
+
Initializes the CBC block mode with the cipher to call process() with.
+
+
BlockModeCTR - Class in com.github.hisahi.tiralabradesaes.blockmodes
+
+
Implements the CTR, or Counter, block mode of operation.
+
+
BlockModeCTR(IBlockCipher) - Constructor for class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCTR
+
+
Initializes the CTR block mode with the cipher to call process() with.
+
+
BlockModeECB - Class in com.github.hisahi.tiralabradesaes.blockmodes
+
+
Implements the ECB, or Electronic Code Book, block mode of operation.
+
+
BlockModeECB(IBlockCipher) - Constructor for class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeECB
+
+
Initializes the ECB block mode with the cipher to call process() with.
+
+
+ + + +

C

+
+
calibrateTime(int, int) - Method in interface com.github.hisahi.tiralabradesaes.keyderiv.IKeyDerivation
+
+
Calibrates the given key derivation function to take approximately + ms milliseconds for every generated key assuming a salt size equal to + the block size of the underlying hash function and a key size equal to + the given parameter.
+
+
calibrateTime(int, int) - Method in class com.github.hisahi.tiralabradesaes.keyderiv.KeyDerivPBKDF2
+
 
+
CipherAES - Class in com.github.hisahi.tiralabradesaes.ciphers
+
+
Implements AES with three possible key sizes: 128 bits, + 192 bits and 256 bits.
+
+
CipherAES() - Constructor for class com.github.hisahi.tiralabradesaes.ciphers.CipherAES
+
 
+
CipherChaCha20 - Class in com.github.hisahi.tiralabradesaes.ciphers
+
+
Implements the ChaCha20 stream cipher.
+
+
CipherChaCha20() - Constructor for class com.github.hisahi.tiralabradesaes.ciphers.CipherChaCha20
+
 
+
CipherDES - Class in com.github.hisahi.tiralabradesaes.ciphers
+
+
Implements DES with 64-bit keys (with 56 bits of security).
+
+
CipherDES() - Constructor for class com.github.hisahi.tiralabradesaes.ciphers.CipherDES
+
 
+
CipherTripleDES - Class in com.github.hisahi.tiralabradesaes.ciphers
+
+
Implements 3DES-3TDEA, with three DES encryptions with three separate keys.
+
+
CipherTripleDES() - Constructor for class com.github.hisahi.tiralabradesaes.ciphers.CipherTripleDES
+
 
+
close() - Method in class com.github.hisahi.tiralabradesaes.Base64OutputStream
+
 
+
close() - Method in class com.github.hisahi.tiralabradesaes.HexOutputStream
+
 
+
com.github.hisahi.tiralabradesaes - package com.github.hisahi.tiralabradesaes
+
+
The main package for the program, containing assorted classes, such as + utilities and padding code.
+
+
com.github.hisahi.tiralabradesaes.blockmodes - package com.github.hisahi.tiralabradesaes.blockmodes
+
+
Package containing the block cipher mode of operation interface + as well as three implementations for it: ECB, CBC and CTR.
+
+
com.github.hisahi.tiralabradesaes.ciphers - package com.github.hisahi.tiralabradesaes.ciphers
+
+
Package containing the cryptographic cipher interface as well as + three implementations of it: DES, 3DES and AES.
+
+
com.github.hisahi.tiralabradesaes.hash - package com.github.hisahi.tiralabradesaes.hash
+
+
Package containing the hash interface and 5 implementations for it: + SHA-1, SHA2-224, SHA2-256, SHA2-384 and SHA2-512.
+
+
com.github.hisahi.tiralabradesaes.keyderiv - package com.github.hisahi.tiralabradesaes.keyderiv
+
+
Package containing the key derivation function interface and an + implementation of PBKDF2 as well as HMAC used by PBKDF2.
+
+
com.github.hisahi.tiralabradesaes.ui - package com.github.hisahi.tiralabradesaes.ui
+
+
Package containing the program interface code, including code for the + command line program.
+
+
computeHash(byte[]) - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA1
+
 
+
computeHash(byte[]) - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_224
+
 
+
computeHash(byte[]) - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
computeHash(byte[]) - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_384
+
 
+
computeHash(byte[]) - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
computeHash(byte[]) - Method in interface com.github.hisahi.tiralabradesaes.hash.IHashFunction
+
+
Computes a hash of the given byte array.
+
+
computeHashInt(byte[]) - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
+
Computes the actual SHA-2 hash values.
+
+
computeHashInt(byte[]) - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
+
Computes the actual SHA-2 hash values.
+
+
computeHmac(byte[], byte[]) - Method in class com.github.hisahi.tiralabradesaes.keyderiv.HMACFunction
+
+
Computes the HMAC for the given key and message.
+
+
confirmPrompt(String) - Static method in class com.github.hisahi.tiralabradesaes.ui.TestMain
+
 
+
convertBase64ToBytes(String) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Converts the given Base64 string to a byte array.
+
+
convertBytesToHex(byte[]) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Converts the given byte array into a hex string consisting of + two hex digits for each byte, not separated with spaces or anything + else.
+
+
convertHexToBytes(String) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Converts the given hex string to a byte array.
+
+
+ + + +

D

+
+
deriveKey(byte[], byte[], byte[]) - Method in interface com.github.hisahi.tiralabradesaes.keyderiv.IKeyDerivation
+
+
Derives a key from the given password and salt and + places it into the given byte array.
+
+
deriveKey(byte[], byte[], byte[]) - Method in class com.github.hisahi.tiralabradesaes.keyderiv.KeyDerivPBKDF2
+
 
+
destroyArray(byte[]) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Wipes the contents of the given byte[] array.
+
+
destroyArray(int[]) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Wipes the contents of the given int[] array.
+
+
dumpBlock(byte[], int) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Dumps the given byte array with the given length into the standard + output as hex.
+
+
+ + + +

F

+
+
feedBlock(byte[]) - Method in class com.github.hisahi.tiralabradesaes.PaddingRemoverWriter
+
+
Feeds a block of data with byteSize bytes into the stream.
+
+
finish() - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCBC
+
 
+
finish() - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCTR
+
 
+
finish() - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeECB
+
 
+
finish() - Method in interface com.github.hisahi.tiralabradesaes.blockmodes.IBlockMode
+
+
Finishes the block mode of operation, after which it has to be + initialized again for it to work.
+
+
finish() - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherAES
+
 
+
finish() - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherChaCha20
+
 
+
finish() - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherDES
+
 
+
finish() - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherTripleDES
+
 
+
finish() - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IBlockCipher
+
+
Finish encryption or decryption.
+
+
finish() - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IStreamCipher
+
+
Finish processing.
+
+
finish() - Method in class com.github.hisahi.tiralabradesaes.PaddingRemoverWriter
+
+
To be called when there are no more blocks to feed.
+
+
flush() - Method in class com.github.hisahi.tiralabradesaes.Base64OutputStream
+
 
+
flush() - Method in class com.github.hisahi.tiralabradesaes.HexOutputStream
+
 
+
+ + + +

G

+
+
generateStrongRandom(byte[]) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Fills the given byte array with random bytes generated using a + cryptographically secure pseudo random number generator.
+
+
generateWeakRandom(byte[]) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Fills the given byte array with random bytes NOT suitable for + cryptographic purposes.
+
+
getBlockSize() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA1
+
 
+
getBlockSize() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_224
+
 
+
getBlockSize() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
getBlockSize() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_384
+
 
+
getBlockSize() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
getBlockSize() - Method in interface com.github.hisahi.tiralabradesaes.hash.IHashFunction
+
+
Gets the block size used by the hash function.
+
+
getBlockSize() - Method in class com.github.hisahi.tiralabradesaes.keyderiv.HMACFunction
+
+
Returns the block size of the underlying hash algorithm.
+
+
getBlockSizeInBytes() - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherAES
+
 
+
getBlockSizeInBytes() - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherDES
+
 
+
getBlockSizeInBytes() - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherTripleDES
+
 
+
getBlockSizeInBytes() - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IBlockCipher
+
+
Gets the block size of the cipher in bytes.
+
+
getCost() - Method in interface com.github.hisahi.tiralabradesaes.keyderiv.IKeyDerivation
+
+
Gets the current cost of the key-derivation function.
+
+
getCost() - Method in class com.github.hisahi.tiralabradesaes.keyderiv.KeyDerivPBKDF2
+
 
+
getHashLength() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA1
+
 
+
getHashLength() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_224
+
 
+
getHashLength() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
getHashLength() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_384
+
 
+
getHashLength() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
getHashLength() - Method in interface com.github.hisahi.tiralabradesaes.hash.IHashFunction
+
+
Gets the size of the hash computed by the hash function.
+
+
getHashLength() - Method in class com.github.hisahi.tiralabradesaes.keyderiv.HMACFunction
+
+
Returns the length of the resulting HMAC in bytes.
+
+
+ + + +

H

+
+
h0 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
h0 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
h1 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
h1 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
h2 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
h2 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
h3 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
h3 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
h4 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
h4 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
h5 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
h5 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
h6 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
h6 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
h7 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
h7 - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
HashSHA1 - Class in com.github.hisahi.tiralabradesaes.hash
+
+
Implements SHA-1, or Secure Hash Algorithm 1.
+
+
HashSHA1() - Constructor for class com.github.hisahi.tiralabradesaes.hash.HashSHA1
+
 
+
HashSHA2_224 - Class in com.github.hisahi.tiralabradesaes.hash
+
+
Implements SHA-224, the version of SHA-2 that creates 224-bit hashes.
+
+
HashSHA2_224() - Constructor for class com.github.hisahi.tiralabradesaes.hash.HashSHA2_224
+
 
+
HashSHA2_256 - Class in com.github.hisahi.tiralabradesaes.hash
+
+
Implements SHA-256, the version of SHA-2 that creates 256-bit hashes.
+
+
HashSHA2_256() - Constructor for class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
HashSHA2_384 - Class in com.github.hisahi.tiralabradesaes.hash
+
+
Implements SHA-384, the version of SHA-2 that creates 384-bit hashes.
+
+
HashSHA2_384() - Constructor for class com.github.hisahi.tiralabradesaes.hash.HashSHA2_384
+
 
+
HashSHA2_512 - Class in com.github.hisahi.tiralabradesaes.hash
+
+
Implements SHA-512, the version of SHA-2 that creates 512-bit hashes.
+
+
HashSHA2_512() - Constructor for class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
HexOutputStream - Class in com.github.hisahi.tiralabradesaes
+
+
An output stream that writes the bytes encoded as hexadecimal digits into + the underlying PrintStream.
+
+
HexOutputStream(PrintStream) - Constructor for class com.github.hisahi.tiralabradesaes.HexOutputStream
+
 
+
HMACFunction - Class in com.github.hisahi.tiralabradesaes.keyderiv
+
+
Implements a HMAC (hash-based message authentication code) function, + acting as a wrapper for an underlying hash function.
+
+
HMACFunction(IHashFunction) - Constructor for class com.github.hisahi.tiralabradesaes.keyderiv.HMACFunction
+
+
Initializes a HMACFunction for the given hash function.
+
+
+ + + +

I

+
+
IBlockCipher - Interface in com.github.hisahi.tiralabradesaes.ciphers
+
+
Interface for block ciphers.
+
+
IBlockMode - Interface in com.github.hisahi.tiralabradesaes.blockmodes
+
+
Interface for block cipher modes of operation.
+
+
IHashFunction - Interface in com.github.hisahi.tiralabradesaes.hash
+
+
Represents a hash function.
+
+
IKeyDerivation - Interface in com.github.hisahi.tiralabradesaes.keyderiv
+
+
Describes a key derivation function that creates a key from a passphrase + and salt.
+
+
init(byte[], byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherChaCha20
+
 
+
init(byte[], byte[]) - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IStreamCipher
+
+
Initializes the given stream cipher.
+
+
initDecrypt(byte[], byte[]) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCBC
+
 
+
initDecrypt(byte[], byte[]) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCTR
+
 
+
initDecrypt(byte[], byte[]) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeECB
+
 
+
initDecrypt(byte[], byte[]) - Method in interface com.github.hisahi.tiralabradesaes.blockmodes.IBlockMode
+
+
Initializes the block cipher mode of operation for decrypting blocks.
+
+
initDecrypt(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherAES
+
 
+
initDecrypt(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherDES
+
 
+
initDecrypt(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherTripleDES
+
 
+
initDecrypt(byte[]) - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IBlockCipher
+
+
Initializes the block cipher for decryption.
+
+
initEncrypt(byte[], byte[]) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCBC
+
 
+
initEncrypt(byte[], byte[]) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCTR
+
 
+
initEncrypt(byte[], byte[]) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeECB
+
 
+
initEncrypt(byte[], byte[]) - Method in interface com.github.hisahi.tiralabradesaes.blockmodes.IBlockMode
+
+
Initializes the block cipher mode of operation for encrypting blocks.
+
+
initEncrypt(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherAES
+
 
+
initEncrypt(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherDES
+
 
+
initEncrypt(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherTripleDES
+
 
+
initEncrypt(byte[]) - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IBlockCipher
+
+
Initializes the block cipher for encryption.
+
+
initHn() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_224
+
 
+
initHn() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
+
Initializes the constants H0..H7.
+
+
initHn() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_384
+
 
+
initHn() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
+
Initializes the constants H0..H7.
+
+
IStreamCipher - Interface in com.github.hisahi.tiralabradesaes.ciphers
+
+
Interface for symmetric stream ciphers.
+
+
isValidIVSize(int) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCBC
+
 
+
isValidIVSize(int) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCTR
+
 
+
isValidIVSize(int) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeECB
+
 
+
isValidIVSize(int) - Method in interface com.github.hisahi.tiralabradesaes.blockmodes.IBlockMode
+
+
Checks whether the given IV size is valid.
+
+
isValidKeySize(int) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherAES
+
 
+
isValidKeySize(int) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherChaCha20
+
 
+
isValidKeySize(int) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherDES
+
 
+
isValidKeySize(int) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherTripleDES
+
 
+
isValidKeySize(int) - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IBlockCipher
+
+
Checks whether the given key size is valid.
+
+
isValidKeySize(int) - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IStreamCipher
+
+
Checks whether the given key size is valid.
+
+
+ + + +

K

+
+
KeyDerivPBKDF2 - Class in com.github.hisahi.tiralabradesaes.keyderiv
+
+
Implements PBKDF2 (Password-Based Key Derivation Function 2), a key + derivation function that takes in a passphrase and salt and turns + them into a cryptographic key.
+
+
KeyDerivPBKDF2(HMACFunction, long) - Constructor for class com.github.hisahi.tiralabradesaes.keyderiv.KeyDerivPBKDF2
+
+
Creates a KeyDerivPBKDF2 instance from the given HMAC function + and a cost value.
+
+
+ + + +

M

+
+
main(String[]) - Static method in class com.github.hisahi.tiralabradesaes.ui.TestMain
+
 
+
main_ret(String[]) - Static method in class com.github.hisahi.tiralabradesaes.ui.TestMain
+
 
+
MT19937 - Class in com.github.hisahi.tiralabradesaes
+
+
A MT19937 (Mersenne Twister) random number generator.
+
+
MT19937() - Constructor for class com.github.hisahi.tiralabradesaes.MT19937
+
 
+
+ + + +

N

+
+
nextBlock() - Method in class com.github.hisahi.tiralabradesaes.StreamBlockReader
+
+
Reads the next block from the stream.
+
+
nextBytes(byte[]) - Method in class com.github.hisahi.tiralabradesaes.MT19937
+
+
Fills the given byte array with random bytes.
+
+
nextInt() - Method in class com.github.hisahi.tiralabradesaes.MT19937
+
+
Returns the next random number from the generator.
+
+
+ + + +

P

+
+
PaddingRemoverWriter - Class in com.github.hisahi.tiralabradesaes
+
+
A class that writes to an OutputStream, removing PKCS padding from the + blocks it has been given.
+
+
PaddingRemoverWriter(OutputStream, int) - Constructor for class com.github.hisahi.tiralabradesaes.PaddingRemoverWriter
+
+
Constructs a PaddingRemoverWriter instance from an OutputStream to + write to and block size in bytes.
+
+
prepare3DESKey(byte[]) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Converts a 21-byte 168-bit 3DES key to the full 24-byte 192-bit 3DES key.
+
+
prepare3DESKeyFrom14Bytes(byte[]) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Converts a 14-byte 112-bit 3DES key to the full 24-byte 192-bit 3DES key.
+
+
prepare3DESKeyFrom16Bytes(byte[]) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Converts a 16-byte 128-bit 3DES key to the full 24-byte 192-bit 3DES key.
+
+
prepareDESKey(byte[]) - Static method in class com.github.hisahi.tiralabradesaes.Utils
+
+
Converts a 7-byte 56-bit DES key to the full 8-byte 64-bit DES key.
+
+
process(byte[]) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCBC
+
 
+
process(byte[]) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeCTR
+
 
+
process(byte[]) - Method in class com.github.hisahi.tiralabradesaes.blockmodes.BlockModeECB
+
 
+
process(byte[]) - Method in interface com.github.hisahi.tiralabradesaes.blockmodes.IBlockMode
+
+
Processes a single block of plaintext.
+
+
process(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherAES
+
 
+
process(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherChaCha20
+
 
+
process(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherDES
+
 
+
process(byte[]) - Method in class com.github.hisahi.tiralabradesaes.ciphers.CipherTripleDES
+
 
+
process(byte[]) - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IBlockCipher
+
+
Encrypts or decrypts a single block of data.
+
+
process(byte[]) - Method in interface com.github.hisahi.tiralabradesaes.ciphers.IStreamCipher
+
+
Encrypts or decrypts any amount of data given.
+
+
+ + + +

R

+
+
reset() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA1
+
 
+
reset() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
 
+
reset() - Method in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
 
+
reset() - Method in interface com.github.hisahi.tiralabradesaes.hash.IHashFunction
+
+
Resets internal variables.
+
+
reset() - Method in class com.github.hisahi.tiralabradesaes.keyderiv.HMACFunction
+
+
Resets internal variables, recommended to be called after no more + HMACs need to be computed within a given function to improve security.
+
+
resHash - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_224
+
 
+
resHash - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_256
+
+
A byte array for the result hash.
+
+
resHash - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_384
+
 
+
resHash - Variable in class com.github.hisahi.tiralabradesaes.hash.HashSHA2_512
+
+
A byte array for the result hash.
+
+
+ + + +

S

+
+
setCost(long) - Method in interface com.github.hisahi.tiralabradesaes.keyderiv.IKeyDerivation
+
+
Sets the cost used by this key derivation function.
+
+
setCost(long) - Method in class com.github.hisahi.tiralabradesaes.keyderiv.KeyDerivPBKDF2
+
 
+
setSeed(int) - Method in class com.github.hisahi.tiralabradesaes.MT19937
+
+
Sets the new seed for the Mersenne Twister.
+
+
StreamBlockReader - Class in com.github.hisahi.tiralabradesaes
+
+
Represents a blocked version of InputStream that converts a stream into + blocks suitable for encryption and decryption with block ciphers.
+
+
StreamBlockReader(InputStream, int) - Constructor for class com.github.hisahi.tiralabradesaes.StreamBlockReader
+
+
Creates a new BlockInputStream from an existing InputStream and a size + of the block in bytes (* 8 for size in bits).
+
+
StreamBlockReader(InputStream, int, boolean) - Constructor for class com.github.hisahi.tiralabradesaes.StreamBlockReader
+
+
Creates a new BlockInputStream from an existing InputStream and a size + of the block in bytes (* 8 for size in bits).
+
+
+ + + +

T

+
+
TestMain - Class in com.github.hisahi.tiralabradesaes.ui
+
 
+
TestMain() - Constructor for class com.github.hisahi.tiralabradesaes.ui.TestMain
+
 
+
+ + + +

U

+
+
Utils - Class in com.github.hisahi.tiralabradesaes
+
+
Various utility functions to be used by other code.
+
+
+ + + +

V

+
+
VoidOutputStream - Class in com.github.hisahi.tiralabradesaes
+
+
An OutputStream that writes nowhere.
+
+
VoidOutputStream() - Constructor for class com.github.hisahi.tiralabradesaes.VoidOutputStream
+
 
+
+ + + +

W

+
+
write(int) - Method in class com.github.hisahi.tiralabradesaes.Base64OutputStream
+
 
+
write(int) - Method in class com.github.hisahi.tiralabradesaes.HexOutputStream
+
 
+
write(int) - Method in class com.github.hisahi.tiralabradesaes.VoidOutputStream
+
+
Does nothing.
+
+
+B C D F G H I K M N P R S T U V W 
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/index.html b/doc/javadoc/index.html new file mode 100644 index 0000000..736f157 --- /dev/null +++ b/doc/javadoc/index.html @@ -0,0 +1,75 @@ + + + + + +kryptoa API + + + + + + + + + +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<h2>Frame Alert</h2> +<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> + + + diff --git a/doc/javadoc/overview-frame.html b/doc/javadoc/overview-frame.html new file mode 100644 index 0000000..58f2c99 --- /dev/null +++ b/doc/javadoc/overview-frame.html @@ -0,0 +1,26 @@ + + + + + +Overview List (kryptoa API) + + + + + +
All Classes
+
+

Packages

+ +
+

 

+ + diff --git a/doc/javadoc/overview-summary.html b/doc/javadoc/overview-summary.html new file mode 100644 index 0000000..1dd299b --- /dev/null +++ b/doc/javadoc/overview-summary.html @@ -0,0 +1,174 @@ + + + + + +Overview (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

kryptoa API

+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Packages 
PackageDescription
com.github.hisahi.tiralabradesaes +
The main package for the program, containing assorted classes, such as + utilities and padding code.
+
com.github.hisahi.tiralabradesaes.blockmodes +
Package containing the block cipher mode of operation interface + as well as three implementations for it: ECB, CBC and CTR.
+
com.github.hisahi.tiralabradesaes.ciphers +
Package containing the cryptographic cipher interface as well as + three implementations of it: DES, 3DES and AES.
+
com.github.hisahi.tiralabradesaes.hash +
Package containing the hash interface and 5 implementations for it: + SHA-1, SHA2-224, SHA2-256, SHA2-384 and SHA2-512.
+
com.github.hisahi.tiralabradesaes.keyderiv +
Package containing the key derivation function interface and an + implementation of PBKDF2 as well as HMAC used by PBKDF2.
+
com.github.hisahi.tiralabradesaes.ui +
Package containing the program interface code, including code for the + command line program.
+
+
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/overview-tree.html b/doc/javadoc/overview-tree.html new file mode 100644 index 0000000..cef624f --- /dev/null +++ b/doc/javadoc/overview-tree.html @@ -0,0 +1,179 @@ + + + + + +Class Hierarchy (kryptoa API) + + + + + + + + +
+ + +
Skip navigation links
+ + + + +
+ + +
+

Hierarchy For All Packages

+Package Hierarchies: + +
+
+

Class Hierarchy

+ +

Interface Hierarchy

+ +
+ +
+ + +
Skip navigation links
+ + + + +
+ + + + diff --git a/doc/javadoc/package-list b/doc/javadoc/package-list new file mode 100644 index 0000000..1cc87c4 --- /dev/null +++ b/doc/javadoc/package-list @@ -0,0 +1,6 @@ +com.github.hisahi.tiralabradesaes +com.github.hisahi.tiralabradesaes.blockmodes +com.github.hisahi.tiralabradesaes.ciphers +com.github.hisahi.tiralabradesaes.hash +com.github.hisahi.tiralabradesaes.keyderiv +com.github.hisahi.tiralabradesaes.ui diff --git a/doc/javadoc/script.js b/doc/javadoc/script.js new file mode 100644 index 0000000..b346356 --- /dev/null +++ b/doc/javadoc/script.js @@ -0,0 +1,30 @@ +function show(type) +{ + count = 0; + for (var key in methods) { + var row = document.getElementById(key); + if ((methods[key] & type) != 0) { + row.style.display = ''; + row.className = (count++ % 2) ? rowColor : altColor; + } + else + row.style.display = 'none'; + } + updateTabs(type); +} + +function updateTabs(type) +{ + for (var value in tabs) { + var sNode = document.getElementById(tabs[value][0]); + var spanNode = sNode.firstChild; + if (value == type) { + sNode.className = activeTableTab; + spanNode.innerHTML = tabs[value][1]; + } + else { + sNode.className = tableTab; + spanNode.innerHTML = "" + tabs[value][1] + ""; + } + } +} diff --git a/doc/javadoc/stylesheet.css b/doc/javadoc/stylesheet.css new file mode 100644 index 0000000..b8dad08 --- /dev/null +++ b/doc/javadoc/stylesheet.css @@ -0,0 +1,574 @@ +/* Javadoc style sheet */ +/* +Overall document style +*/ + +@import url('resources/fonts/dejavu.css'); + +body { + background-color:#ffffff; + color:#353833; + font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; + font-size:14px; + margin:0; +} +a:link, a:visited { + text-decoration:none; + color:#4A6782; +} +a:hover, a:focus { + text-decoration:none; + color:#bb7a2a; +} +a:active { + text-decoration:none; + color:#4A6782; +} +a[name] { + color:#353833; +} +a[name]:hover { + text-decoration:none; + color:#353833; +} +pre { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; +} +h1 { + font-size:20px; +} +h2 { + font-size:18px; +} +h3 { + font-size:16px; + font-style:italic; +} +h4 { + font-size:13px; +} +h5 { + font-size:12px; +} +h6 { + font-size:11px; +} +ul { + list-style-type:disc; +} +code, tt { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; + margin-top:8px; + line-height:1.4em; +} +dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + padding-top:4px; +} +table tr td dt code { + font-family:'DejaVu Sans Mono', monospace; + font-size:14px; + vertical-align:top; + padding-top:4px; +} +sup { + font-size:8px; +} +/* +Document title and Copyright styles +*/ +.clear { + clear:both; + height:0px; + overflow:hidden; +} +.aboutLanguage { + float:right; + padding:0px 21px; + font-size:11px; + z-index:200; + margin-top:-9px; +} +.legalCopy { + margin-left:.5em; +} +.bar a, .bar a:link, .bar a:visited, .bar a:active { + color:#FFFFFF; + text-decoration:none; +} +.bar a:hover, .bar a:focus { + color:#bb7a2a; +} +.tab { + background-color:#0066FF; + color:#ffffff; + padding:8px; + width:5em; + font-weight:bold; +} +/* +Navigation bar styles +*/ +.bar { + background-color:#4D7A97; + color:#FFFFFF; + padding:.8em .5em .4em .8em; + height:auto;/*height:1.8em;*/ + font-size:11px; + margin:0; +} +.topNav { + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.bottomNav { + margin-top:10px; + background-color:#4D7A97; + color:#FFFFFF; + float:left; + padding:0; + width:100%; + clear:right; + height:2.8em; + padding-top:10px; + overflow:hidden; + font-size:12px; +} +.subNav { + background-color:#dee3e9; + float:left; + width:100%; + overflow:hidden; + font-size:12px; +} +.subNav div { + clear:left; + float:left; + padding:0 0 5px 6px; + text-transform:uppercase; +} +ul.navList, ul.subNavList { + float:left; + margin:0 25px 0 0; + padding:0; +} +ul.navList li{ + list-style:none; + float:left; + padding: 5px 6px; + text-transform:uppercase; +} +ul.subNavList li{ + list-style:none; + float:left; +} +.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { + color:#FFFFFF; + text-decoration:none; + text-transform:uppercase; +} +.topNav a:hover, .bottomNav a:hover { + text-decoration:none; + color:#bb7a2a; + text-transform:uppercase; +} +.navBarCell1Rev { + background-color:#F8981D; + color:#253441; + margin: auto 5px; +} +.skipNav { + position:absolute; + top:auto; + left:-9999px; + overflow:hidden; +} +/* +Page header and footer styles +*/ +.header, .footer { + clear:both; + margin:0 20px; + padding:5px 0 0 0; +} +.indexHeader { + margin:10px; + position:relative; +} +.indexHeader span{ + margin-right:15px; +} +.indexHeader h1 { + font-size:13px; +} +.title { + color:#2c4557; + margin:10px 0; +} +.subTitle { + margin:5px 0 0 0; +} +.header ul { + margin:0 0 15px 0; + padding:0; +} +.footer ul { + margin:20px 0 5px 0; +} +.header ul li, .footer ul li { + list-style:none; + font-size:13px; +} +/* +Heading styles +*/ +div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList ul.blockList li.blockList h3 { + background-color:#dee3e9; + border:1px solid #d0d9e0; + margin:0 0 6px -8px; + padding:7px 5px; +} +ul.blockList ul.blockList li.blockList h3 { + padding:0; + margin:15px 0; +} +ul.blockList li.blockList h2 { + padding:0px 0 20px 0; +} +/* +Page layout container styles +*/ +.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { + clear:both; + padding:10px 20px; + position:relative; +} +.indexContainer { + margin:10px; + position:relative; + font-size:12px; +} +.indexContainer h2 { + font-size:13px; + padding:0 0 3px 0; +} +.indexContainer ul { + margin:0; + padding:0; +} +.indexContainer ul li { + list-style:none; + padding-top:2px; +} +.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { + font-size:12px; + font-weight:bold; + margin:10px 0 0 0; + color:#4E4E4E; +} +.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { + margin:5px 0 10px 0px; + font-size:14px; + font-family:'DejaVu Sans Mono',monospace; +} +.serializedFormContainer dl.nameValue dt { + margin-left:1px; + font-size:1.1em; + display:inline; + font-weight:bold; +} +.serializedFormContainer dl.nameValue dd { + margin:0 0 0 1px; + font-size:1.1em; + display:inline; +} +/* +List styles +*/ +ul.horizontal li { + display:inline; + font-size:0.9em; +} +ul.inheritance { + margin:0; + padding:0; +} +ul.inheritance li { + display:inline; + list-style:none; +} +ul.inheritance li ul.inheritance { + margin-left:15px; + padding-left:15px; + padding-top:1px; +} +ul.blockList, ul.blockListLast { + margin:10px 0 10px 0; + padding:0; +} +ul.blockList li.blockList, ul.blockListLast li.blockList { + list-style:none; + margin-bottom:15px; + line-height:1.4; +} +ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { + padding:0px 20px 5px 10px; + border:1px solid #ededed; + background-color:#f8f8f8; +} +ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { + padding:0 0 5px 8px; + background-color:#ffffff; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { + margin-left:0; + padding-left:0; + padding-bottom:15px; + border:none; +} +ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { + list-style:none; + border-bottom:none; + padding-bottom:0; +} +table tr td dl, table tr td dl dt, table tr td dl dd { + margin-top:0; + margin-bottom:1px; +} +/* +Table styles +*/ +.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { + width:100%; + border-left:1px solid #EEE; + border-right:1px solid #EEE; + border-bottom:1px solid #EEE; +} +.overviewSummary, .memberSummary { + padding:0px; +} +.overviewSummary caption, .memberSummary caption, .typeSummary caption, +.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { + position:relative; + text-align:left; + background-repeat:no-repeat; + color:#253441; + font-weight:bold; + clear:none; + overflow:hidden; + padding:0px; + padding-top:10px; + padding-left:1px; + margin:0px; + white-space:pre; +} +.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, +.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, +.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, +.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, +.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, +.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, +.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, +.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { + color:#FFFFFF; +} +.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, +.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + padding-bottom:7px; + display:inline-block; + float:left; + background-color:#F8981D; + border: none; + height:16px; +} +.memberSummary caption span.activeTableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#F8981D; + height:16px; +} +.memberSummary caption span.tableTab span { + white-space:nowrap; + padding-top:5px; + padding-left:12px; + padding-right:12px; + margin-right:3px; + display:inline-block; + float:left; + background-color:#4D7A97; + height:16px; +} +.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { + padding-top:0px; + padding-left:0px; + padding-right:0px; + background-image:none; + float:none; + display:inline; +} +.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, +.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { + display:none; + width:5px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .activeTableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + float:left; + background-color:#F8981D; +} +.memberSummary .tableTab .tabEnd { + display:none; + width:5px; + margin-right:3px; + position:relative; + background-color:#4D7A97; + float:left; + +} +.overviewSummary td, .memberSummary td, .typeSummary td, +.useSummary td, .constantsSummary td, .deprecatedSummary td { + text-align:left; + padding:0px 0px 12px 10px; +} +th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, +td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ + vertical-align:top; + padding-right:0px; + padding-top:8px; + padding-bottom:3px; +} +th.colFirst, th.colLast, th.colOne, .constantsSummary th { + background:#dee3e9; + text-align:left; + padding:8px 3px 3px 7px; +} +td.colFirst, th.colFirst { + white-space:nowrap; + font-size:13px; +} +td.colLast, th.colLast { + font-size:13px; +} +td.colOne, th.colOne { + font-size:13px; +} +.overviewSummary td.colFirst, .overviewSummary th.colFirst, +.useSummary td.colFirst, .useSummary th.colFirst, +.overviewSummary td.colOne, .overviewSummary th.colOne, +.memberSummary td.colFirst, .memberSummary th.colFirst, +.memberSummary td.colOne, .memberSummary th.colOne, +.typeSummary td.colFirst{ + width:25%; + vertical-align:top; +} +td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { + font-weight:bold; +} +.tableSubHeadingColor { + background-color:#EEEEFF; +} +.altColor { + background-color:#FFFFFF; +} +.rowColor { + background-color:#EEEEEF; +} +/* +Content styles +*/ +.description pre { + margin-top:0; +} +.deprecatedContent { + margin:0; + padding:10px 0; +} +.docSummary { + padding:0; +} + +ul.blockList ul.blockList ul.blockList li.blockList h3 { + font-style:normal; +} + +div.block { + font-size:14px; + font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; +} + +td.colLast div { + padding-top:0px; +} + + +td.colLast a { + padding-bottom:3px; +} +/* +Formatting effect styles +*/ +.sourceLineNo { + color:green; + padding:0 30px 0 0; +} +h1.hidden { + visibility:hidden; + overflow:hidden; + font-size:10px; +} +.block { + display:block; + margin:3px 10px 2px 0px; + color:#474747; +} +.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, +.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, +.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { + font-weight:bold; +} +.deprecationComment, .emphasizedPhrase, .interfaceName { + font-style:italic; +} + +div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, +div.block div.block span.interfaceName { + font-style:normal; +} + +div.contentContainer ul.blockList li.blockList h2{ + padding-bottom:0px; +} diff --git a/doc/ohje.md b/doc/ohje.md index 92f6024..b4fd04a 100644 --- a/doc/ohje.md +++ b/doc/ohje.md @@ -1,7 +1,8 @@ # Ohjelman käyttöohje ## Sovelluksen sijainti -TODO +Valmiin JAR-tiedoston löytää [julkaisuista]( +https://github.com/hisahi/tiralabra-2019-des-aes/releases). ## Sovelluksen käynnistys Sovelluksen voi käynnistää komennolla `java -jar kryptoa.jar`. Ohjelma diff --git a/doc/toteutus.md b/doc/toteutus.md index d47378b..db1dfba 100644 --- a/doc/toteutus.md +++ b/doc/toteutus.md @@ -87,9 +87,9 @@ lopussa olisi 8 tavun lohko tavuja, joiden jokaisen arvo on 8. # Mittauksia Tarkempaa tietoa löytyy testausdokumentista. -Nopeassa testauksessa DES on noin 1/20 OpenSSL:n suorituskyvystä ja AES -noin 1/8. Kaikkia algoritmeja on testattu OpenSSL:ää sekä muita salaus- -ohjelmia vastaan, ja salatut syötteet ovat yhteensopivia. +Nopeassa testauksessa DES on noin 1/21 OpenSSL:n suorituskyvystä ja AES +noin 1/30. Kaikkia algoritmeja on testattu OpenSSL:ää sekä muita +salausohjelmia vastaan, ja salatut syötteet ovat yhteensopivia. # Ohjelman rakenne Ohjelman rakenteesta käytetään laajasti hyödyksi olio-ohjelmoinnin diff --git a/doc/viikko6.md b/doc/viikko6.md new file mode 100644 index 0000000..cdf65a0 --- /dev/null +++ b/doc/viikko6.md @@ -0,0 +1,9 @@ +# Tehdyt asiat +Päivitin hieman dokumentaatiota sekä lisäsin valmiin JAR-tiedoston +julkaisuihin. + +# Seuraavaksi +Mahdollisesti pieniä korjauksia jos niitä keksin. + +# Aika +Käytetty aika noin 1 tunti.