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) intgetRadix()
-
Constructor Details
-
BasicAlphabetMapper
-
BasicAlphabetMapper
public BasicAlphabetMapper(char[] alphabet)
-
-
Method Details
-
getRadix
public int getRadix()- Specified by:
getRadixin interfaceAlphabetMapper
-
convertToIndexes
public byte[] convertToIndexes(char[] input) - Specified by:
convertToIndexesin interfaceAlphabetMapper
-
convertToChars
public char[] convertToChars(byte[] input) - Specified by:
convertToCharsin interfaceAlphabetMapper
-