public override string EncodeBytes(byte[] input) { return(Safe64Encoding.EncodeBytes(input)); }
public override byte[] DecodeBytes(string input) { return(Safe64Encoding.DecodeBytes(input)); }
int ICryptoTransform.TransformBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset) { return(_mode == CryptoStreamMode.Read ? Safe64Encoding.DecodeBytes(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset) : Safe64Encoding.EncodeBytes(inputBuffer, inputOffset, inputCount, outputBuffer, outputOffset)); }