Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base64 #4

Open
Yaffle opened this issue Oct 13, 2011 · 0 comments
Open

base64 #4

Yaffle opened this issue Oct 13, 2011 · 0 comments

Comments

@Yaffle
Copy link

Yaffle commented Oct 13, 2011

Your base64Decode fails on the following tests:
//
var tests = [
['YW55IGNhcm5hbCBwbGVhcw', 'any carnal pleas'],
['YQ', 'a'],
['YR', 'a'],
['', ''],
['YQA=', 'a\u0000'],
['YW55IGNhcm5hbCBwbGVhcw==YW55IGNhcm5hbCBwbGVhc3VyZS4=', 'any carnal pleasany carnal pleasure.'],
['YW55IGNhcm5hbCBwbGVhcw==YW55IGNhcm5hbCBwbGVhc3VyZS4', 'any carnal pleasany carnal pleasure.']
];

see https://gist.github.com/1284012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant