public static AEADResult Encrypt(this IAEADBlockCipher cipher, AEADResult previousResult)
 {
     return(cipher.Encrypt(previousResult.RemainingInput, previousResult.RemainingOutput));
 }
 public static AEADResult EncryptAll(this IAEADBlockCipher cipher, ReadOnlySpan <byte> input, Span <byte> output)
 {
     return(cipher.EncryptFinal(cipher.Encrypt(input, output)));
 }