Advertisement
Guest User

Untitled

a guest
Jun 20th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. public AESCBC(byte[] key, byte[16] inputIV)
  2. {
  3.  
  4. //blah blah
  5.  
  6. }
  7.  
  8. Contract.Requires(inputIV.Length == 16);
  9.  
  10. public AESCBC(byte[] key, byte[] inputIV)
  11. {
  12. if(inputIV.Length != 16)
  13. throw new ArgumentException("inputIV should be byte[16]");
  14.  
  15. //blah blah
  16.  
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement