pub fn from_slice(data: &[u8]) -> Self {
		let mut r = [0u8; 32];
		r.copy_from_slice(data);
		Public(r)
	}
/// A new instance from the given slice that should be 32 bytes long.
///
/// NOTE: No checking goes on to ensure this is a real public key. Only use it if
/// you are certain that the array actually is a pubkey. GIGO!
A new instance from the given slice that should be 32 bytes long.
NOTE: No checking goes on to ensure this is a real public key. Only use it if
you are certain that the array actually is a pubkey. GIGO!
A new instance from the given slice that should be 32 bytes long . NOTE : No checking goes on to ensure this is a real public key . Only use it if you are certain that the array actually is a pubkey . GIGO!
pub fn from_slice(data: &[u8]) -> Self {
		let mut r = [0u8; 32];
		r.copy_from_slice(data);
		Public(r)
	}
pub fn from_slice ( data : & [ u8 ] ) -> Self { let mut r = [ 0u8 ; 32 ] ; r . copy_from_slice ( data ) ; Public ( r ) }
A new instance from the given slice that should be 32 bytes long.
A new instance from the given slice that should be 32 bytes long .
data
&[u8]
data
&[u8]