public function random()
 {
     $this->assertEquals(10, strlen(Secrets::random()->bytes()));
 }
 /**
  * Returns a new random secret. Uses the OpenSSL and MCrypt libraries
  * if available, falling back to the system random number generator.
  *
  * @deprecated Use Secrets::random() instead
  * @return self
  */
 public static function random()
 {
     return Secrets::random();
 }