Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 372 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 372 Bytes

pkcs7.erl Build Status

PKCS7 binary padding for erlang

1> Bin = <<"Needs padding">>.
2> Padded = pkcs7:pad(Bin).
3> Padded = <<78,101,101,100,115,32,112,97,100,100,105,110,103,3,3,3>>.
4> Unpadded = pkcs7:unpad(Padded).
5> Bin = Unpadded.