Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Helpers for encoding/decoding base64 #1016

Merged
merged 1 commit into from

2 participants

@fuksito

$ encode64 fuksito@gmail.com
=> ZnVrc2l0b0BnbWFpbC5jb20=
$ decode64 ZnVrc2l0b0BnbWFpbC5jb20=
=> fuksito@gmail.com

@robbyrussell robbyrussell merged commit 7bb2744 into robbyrussell:master
@robbyrussell

Thanks, can you update our Plugins page with the usage examples?

@robbyrussell robbyrussell merged commit db27635 into robbyrussell:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 0 deletions.
  1. +2 −0  plugins/encode64/encode64.plugin.zsh
View
2  plugins/encode64/encode64.plugin.zsh
@@ -0,0 +1,2 @@
+encode64(){ echo -n $1 | base64 }
+decode64(){ echo -n $1 | base64 -D }
Something went wrong with that request. Please try again.