b64 padding .... bug/typpo ?
develmts opened this issue · comments
develmts commented
Digging on code, I found that.. and it seems strange
b64pad = (options && typeof options.pad === 'string') ? options.pda : '=', // base-64 pad character. Defaults to '=' for strict RFC compliance
Shouldn't options.pda be options.pad ?
If that's the case, i suspect same bug/typpo will repeat fro other Hash classes
Tom commented
Yeah, looks like it's a typo. Will fix asap.
Tom commented
Fixed in v1.0.6
. Thanks for reporting.