示例#1
0
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     $first = $this->ask('First hex string?');
     $second = $this->ask('Second hex string?');
     $this->info(Cryptography::fixedXOR($first, $second));
 }
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     $hex = $this->ask('What is your hex?');
     $this->info(Cryptography::hexToBase64($hex));
 }