src/sb/JSON/RPC2/Client.php
public function useEncryption($key)
    {
        $this->encryptor = new \sb\Encryption\ForTransmission($key);
        $this->encryption_key = $key;
    }
public function useEncryption($key)
    {
        $this->encryptor = new \sb\Encryption\ForTransmission($key);
        $this->encryption_key = $key;
    }
public function useEncryption ( $ key ) { $ this -> encryptor = new \ sb \ Encryption \ ForTransmission ( $ key ) ; $ this -> encryption_key = $ key ; }
Sets the key that data is encrypted with and turns on encryption, the server must use the same key
@param $key String
Sets the key that data is encrypted with and turns on encryption the server must use the same key