Tutorial Cara Encode dan Decode Base64 Menggunakan Terminal Linux – Dalam istilah dasarnya endcode dan decode ialah komunikasi. Endcoder merupakan proses pegiriman pesan dengan menggunakan mesin, dan untuk istilah decoding atau decode ialah proses mengubah komunikasi menjadi pemikiran.

Setealah kamu mengetahui istilah dari encode dan decode, selanjutnya ialah kita akan membahas cara membuat encode dan decode menggunakan terminal linux. Untuk tool base64 biasanya telah terinstall, jadi kamu tidak perlu menginstall tool ini.

echo QWxhZGRpbjpvcGVuIHNlc2FtZQ== | base64 --decode

Kamu juga bisa memasukkan karakter baris, contohnya sebagai berikut.

$ echo QWxhZGRpbjpvcGVuIHNlc2FtZQ== | base64 --decode

Output yang di hasilkan seperti berikut.

$ Hidayatcode:open sesame

Selain cara di atas kamu bisa menggunakan opensll untuk melakukan decode base64.

$ openssl enc -base64 <<< 'Hello, World!' SGVsbG8sIFdvcmxkIQo=
$ openssl enc -base64 -d <<< SGVsbG8sIFdvcmxkIQo=

Oke demikian tutorial car dcode dan encode menggunakan terminal linux semoga bermanfaat.

Share:

hidayat

"Jadilah dirimu sendiri. Orang tidak harus menyukaimu, dan kamu tidak perlu peduli...." (Marlin Hidayat Tanjung)

Leave a Reply

  • This is a good tip particularly to those fresh to the blogosphere.
    Short but very accurate info? Thank you for sharing
    this one. A must read article!

  • I am really loving the theme/design of your website. Do you ever run into any browser compatibility issues?
    A couple of my blog audience have complained about my website not
    operating correctly in Explorer but looks great in Firefox.
    Do you have any advice to help fix this problem?

  • If some one desires expert view regarding blogging
    and site-building after that i suggest him/her to pay a quick
    visit this weblog, Keep up the nice job.

  • Great – I should certainly pronounce, impressed with your web site.
    I had no trouble navigating through all tabs as well as related information ended up
    being truly simple to do to access. I recently found what
    I hoped for before you know it in the least. Reasonably unusual.
    Is likely to appreciate it for those who add forums or anything, web site theme .

    a tones way for your customer to communicate. Nice task.