pub fn encrypt_block(key: Scalar, msg: &[u8], ctr: u64) -> Vec<u8> {
    let m = encode_point(&msg);

    let c = encrypt_point(key, m, ctr);

    // c.serialize()
    serialize_point(c)
}
// Encrypt a single block of raw plaintext
Encrypt a single block of raw plaintext
Encrypt a single block of raw plaintext
pub fn encrypt_block(key: Scalar, msg: &[u8], ctr: u64) -> Vec<u8> {
    let m = encode_point(&msg);
    let c = encrypt_point(key, m, ctr);
    // c.serialize()
    serialize_point(c)
}
pub fn encrypt_block ( key : Scalar , msg : & [ u8 ] , ctr : u64 ) -> Vec < u8 > { let m = encode_point ( & msg ) ; let c = encrypt_point ( key , m , ctr ) ; // c.serialize() serialize_point ( c ) }
Encrypt a single block of raw plaintext
Encrypt a single block of raw plaintext
key
Scalar
msg
&[u8]
ctr
u64
key
Scalar
msg
&[u8]
ctr
u64