| Index: crypto/symmetric_key.h
|
| diff --git a/crypto/symmetric_key.h b/crypto/symmetric_key.h
|
| index c5860b58c2bdea75dd3e2ed532991ef6e6601f30..8e2dfa0b5291ad3d0bd9ba8e04fae8ddefa833f8 100644
|
| --- a/crypto/symmetric_key.h
|
| +++ b/crypto/symmetric_key.h
|
| @@ -33,6 +33,9 @@ class SymmetricKey {
|
|
|
| virtual ~SymmetricKey();
|
|
|
| + // Generates cryptographically strong random bytes. Returns true on success.
|
| + static bool GenerateRandomBytes(size_t size_in_bits, uint8* out);
|
| +
|
| // Generates a random key suitable to be used with |algorithm| and of
|
| // |key_size_in_bits| bits.
|
| // The caller is responsible for deleting the returned SymmetricKey.
|
|
|