pastebin PASTEBIN pastebin(1) NAME pastebin: command line pastebin. SYNOPSIS | curl -F 'data=<-' https://pastebin.sonassi.com/ EXAMPLES ~$ cat bin/ching | curl -F 'data=<-' https://pastebin.sonassi.com/ URL: https://pastebin.sonassi.com//VIcJ ~$ echo encoded-data | curl -F 'enc=1' -F 'data=<-' https://pastebin.sonassi.com/ Key: _ongf_GlDeFbkLETSCzu4c12Pdte5HX2W7UlAtaiO_U Nonce: t6emWKX-KF0GZQhrNO3ahvyjFihDHS_B Encoded URL: https://pastebin.sonassi.com/Q6nPq Decoded URL: https://pastebin.sonassi.com/decrypt/Q6nPq/t6emWKX-KF0GZQhrNO3ahvyjFihDHS_B/_ongf_GlDeFbkLETSCzu4c12Pdte5HX2W7UlAtaiO_U LIFETIME Pastebin entries are kept for a period of 7 days then are destroyed DECRYPT FUNCTION < ?php function decrypt($text, $nonce, $key) { return trim(sodium_crypto_secretbox_open(base64_decode($text), sodium_base642bin($nonce, SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING ), sodium_base642bin($key, SODIUM_BASE64_VARIANT_URLSAFE_NO_PADDING ))); }