Decoding data (HTML)
The following example shows how to use the decodeFromBase64String method.
function DecodeData( stringToDecrypt )
{
try {
// Decode from a base64 string.
var inputDataBuffer = Windows.Security.Cryptography.CryptographicBuffer.decodeFromBase64String(stringToDecrypt);
}
catch ( ) {
// Handle the error.
}
}