public function defuseKey($randomBytes)
    {
        $key = Key::createNewRandomKey();
        $func = function ($bytes) {
            $this->key_bytes = $bytes;
        };
        $helper = $func->bindTo($key, $key);
        $helper($randomBytes);
        return $key;
    }
public function defuseKey($randomBytes)
    {
        $key = Key::createNewRandomKey();
        $func = function ($bytes) {
            $this->key_bytes = $bytes;
        };
        $helper = $func->bindTo($key, $key);
        $helper($randomBytes);
        return $key;
    }
public function defuseKey ( $ randomBytes ) { $ key = Key :: createNewRandomKey ( ) ; $ func = function ( $ bytes ) { $ this -> key_bytes = $ bytes ; } ; $ helper = $ func -> bindTo ( $ key , $ key ) ; $ helper ( $ randomBytes ) ; return $ key ; }
Use an internally generated key in a Defuse context

@param string $randomBytes
@return Key
Use an internally generated key in a Defuse context