Java Cryptography Concepts: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 17: Line 17:
==Feedback Mode==
==Feedback Mode==


Example: "CBC"
===CBC===
 
CBC requires IV.
 
===ECB===


==Padding Scheme==
==Padding Scheme==


Example: "PKCS5Padding"
Example: "PKCS5Padding"

Revision as of 07:52, 24 November 2018

Internal

Java Cryptographic Extension (JCE) Framework

Cipher class is the core of JCE.

Cipher

https://docs.oracle.com/javase/8/docs/api/javax/crypto/Cipher.html

Cryptographic Algorithm

Example: "AES"

Feedback Mode

CBC

CBC requires IV.

ECB

Padding Scheme

Example: "PKCS5Padding"