Include the hex crate and ToHex import to the second example
This commit is contained in:
parent
f206eb6a4b
commit
a33efaa349
|
|
@ -37,8 +37,10 @@
|
|||
//!
|
||||
//! ```rust
|
||||
//! extern crate openssl;
|
||||
//! extern crate hex;
|
||||
//!
|
||||
//! use openssl::sha::sha256;
|
||||
//! use hex::ToHex;
|
||||
//!
|
||||
//! fn main() {
|
||||
//! let hash = sha256(b"your data or message");
|
||||
|
|
|
|||
Loading…
Reference in New Issue