Skip to content
Permalink
Browse files

Update openssl.rb

  • Loading branch information...
dfang committed Aug 26, 2019
1 parent fcf80c9 commit 0938d64dcee01c1fac628dfdab7d5e77c5a5b403
Showing with 3 additions and 4 deletions.
  1. +3 −4 cheatsheets/openssl.rb
@@ -166,19 +166,18 @@

category do
id 'encode / decode'

entry do
name 'to encode to base64 '
name 'to encode to base64'
notes '
```
openssl enc -base64 <<< 'Hello, World!'
openssl enc -base64 <<< "Hello, World!"
openssl base64 -in <infile> -out <outfile>
```
'
end

entry do
name 'to decode from base64 '
name 'to decode from base64'
notes '
```
openssl enc -base64 -d <<< SGVsbG8sIFdvcmxkIQo=

0 comments on commit 0938d64

Please sign in to comment.
You can’t perform that action at this time.