java.lang.Object
org.seppiko.commons.utils.crypto.NMPUtil
- All Implemented Interfaces:
Serializable
Algorithm Name/Mode/Padding util
- Author:
- Leonard Woo
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NMPUtil
Parser algorithm String- Parameters:
algorithm- Name[/Mode[/Padding]]- Throws:
NoSuchAlgorithmException- Algorithm String format is wrong
-
NMPUtil
Init NMP- Parameters:
name- namemode- modepadding- padding
-
-
Method Details
-
getName
get name- Returns:
- name
-
getMode
get mode- Returns:
- mode
-
getPadding
get padding- Returns:
- padding
-
equals
Check nmp object -
hashCode
public int hashCode()NMPUtil object hashcode -
toString
Re-splicing algorithm name
-