Package org.bouncycastle.crypto.util
Class BasicAlphabetMapper
java.lang.Object
org.bouncycastle.crypto.util.BasicAlphabetMapper
- All Implemented Interfaces:
AlphabetMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchar[]
convertToChars
(byte[] input) byte[]
convertToIndexes
(char[] input) int
getRadix()
-
Constructor Details
-
BasicAlphabetMapper
-
BasicAlphabetMapper
public BasicAlphabetMapper(char[] alphabet)
-
-
Method Details
-
getRadix
public int getRadix()- Specified by:
getRadix
in interfaceAlphabetMapper
-
convertToIndexes
public byte[] convertToIndexes(char[] input) - Specified by:
convertToIndexes
in interfaceAlphabetMapper
-
convertToChars
public char[] convertToChars(byte[] input) - Specified by:
convertToChars
in interfaceAlphabetMapper
-