Interface IAlphabetMapper
- Namespace
- Org.BouncyCastle.Crypto
- Assembly
- BouncyCastle.Cryptography.dll
public interface IAlphabetMapper
Properties
Radix
Return the number of characters in the alphabet.
int Radix { get; }
Property Value
- int
the radix for the alphabet.
Methods
ConvertToChars(byte[])
Return a char[] for this alphabet based on the indexes passed.
char[] ConvertToChars(byte[] input)
Parameters
inputbyte[]input array of indexes.
Returns
- char[]
an array of char corresponding to the index values.
ConvertToIndexes(char[])
Return the passed in char[] as a byte array of indexes (indexes can be more than 1 byte)
byte[] ConvertToIndexes(char[] input)
Parameters
inputchar[]characters to be mapped.
Returns
- byte[]
an index array.