Closed wibblymat closed 8 years ago
Mostly nits.
Also, this looks like the original implementation was wrong (i.e. if you used encryptPayload directly) you would have gotten different results (i.e. padding added after the encryption occured on payload cs encryption on payload with padding applied).
If so it would be worth adding tests for encryptingPayload - but feel free to raise and issue and we can address in a seperate PR.
@gauntface updated. I stopped exposing methods that weren't needed.
LGTM
R: @gauntface