pub fn new<T>(csprng: &mut T) -> Self
    where
        T: RngCore + CryptoRng,
    {
        let mut bytes = [0u8; 32];
        csprng.fill_bytes(&mut bytes);

        Self::from(bytes)
    }
/// Generate a new _SpendingKey_ with the high 4 bits of the first
/// byte set to zero (ie, 256 random bits, clamped to 252).
Generate a new _SpendingKey_ with the high 4 bits of the first
byte set to zero .
Generate a new _SpendingKey_ with the high 4 bits of the first byte set to zero .
pub fn new<T>(csprng: &mut T) -> Self
    where
        T: RngCore + CryptoRng,
    {
        let mut bytes = [0u8; 32];
        csprng.fill_bytes(&mut bytes);
        Self::from(bytes)
    }
pub fn new < T > ( csprng : & mut T ) -> Self where T : RngCore + CryptoRng , { let mut bytes = [ 0u8 ; 32 ] ; csprng . fill_bytes ( & mut bytes ) ; Self :: from ( bytes ) }
Generate a new _SpendingKey_ with the high 4 bits of the first
byte set to zero (ie, 256 random bits, clamped to 252).
Generate a new _SpendingKey_ with the high 4 bits of the first byte set to zero ( ie 256 random bits clamped to 252 ) .
csprng
&mut T