Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: Dylan Lopez
Added: Mar 6, 2018 8:57 AM
Views: 5
  1. $msg = 'My secret message';
  2. $key = 'super-secret-key';
  3.  
  4. $encrypted_string = $this->encrypt->encode($msg, $key);