function strip_padding(padded_content, padding_char) {
    for (var i = padded_content.length; i > 0; i--) {
        if (padded_content[i - 1] !== padding_char) {
            return padded_content.slice(0, i);
        }
    }
}
/* Strips the padding character from decrypted content. */
Strips the padding character from decrypted content.
Strips the padding character from decrypted content .
function strip_padding(padded_content, padding_char) {
    for (var i = padded_content.length; i > 0; i--) {
        if (padded_content[i - 1] !== padding_char) {
            return padded_content.slice(0, i);
        }
    }
}
function strip_padding ( padded_content , padding_char ) { for ( var i = padded_content . length ; i > 0 ; i -- ) { if ( padded_content [ i - 1 ] !== padding_char ) { return padded_content . slice ( 0 , i ) ; } } }
Strips the padding character from decrypted content.
Strips the padding character from decrypted content .