Answered by:
Vectors

Question
-
Hello Guys!
i am working on a text cryptography project and i need to know what a vector is relating to vb.net, and how to create a vector
1)What is a vector
2)How to create a vector
Call me Priye
Monday, April 14, 2014 3:49 PM
Answers
-
You should review System.Security.Cryptography Namespace and perhaps for any cryptography type implemented there is a difference in key and vector requirements.
Like with AES which I would guess would be different than for another method.
Hello. I'm old and retired. I like to program if you could call what I do programming. However I'd like to code for you! If you've got the dime then I've got the time. Call me, landline, @ BR-549.
- Proposed as answer by Reed KimbleMVP Monday, April 14, 2014 4:44 PM
- Marked as answer by Franklin ChenMicrosoft employee Monday, April 21, 2014 11:24 AM
Monday, April 14, 2014 4:03 PM -
Typically when someone says "vector" all by itself in the context of a computer program, they are talking about a structure of two or more dimensions. A Point could be considered a "Vector 2" structure. When you add a reference to any assembly dealing with 3D, you typically also find a Vector3 structure which is like a Point that also has a Z value in addition to X and Y.
However, you appear to be talking about a Cryptography Initialization Vector, which is something else entirely. For that, you can review this link to understand the concept, but you should follow the MSDN documentation for the particular cryptography provider that you are using in your code.
Reed Kimble - "When you do things right, people won't be sure you've done anything at all"
- Marked as answer by Franklin ChenMicrosoft employee Monday, April 21, 2014 11:24 AM
Monday, April 14, 2014 4:44 PM
All replies
-
You should review System.Security.Cryptography Namespace and perhaps for any cryptography type implemented there is a difference in key and vector requirements.
Like with AES which I would guess would be different than for another method.
Hello. I'm old and retired. I like to program if you could call what I do programming. However I'd like to code for you! If you've got the dime then I've got the time. Call me, landline, @ BR-549.
- Proposed as answer by Reed KimbleMVP Monday, April 14, 2014 4:44 PM
- Marked as answer by Franklin ChenMicrosoft employee Monday, April 21, 2014 11:24 AM
Monday, April 14, 2014 4:03 PM -
Hi, you can use ArrayList or List(Of T):
http://msdn.microsoft.com/en-us/library/system.collections.arraylist.aspx
http://msdn.microsoft.com/en-us/library/6sh2ey19.aspx?cs-save-lang=1&cs-lang=vb#code-snippet-1
Monday, April 14, 2014 4:04 PM -
Typically when someone says "vector" all by itself in the context of a computer program, they are talking about a structure of two or more dimensions. A Point could be considered a "Vector 2" structure. When you add a reference to any assembly dealing with 3D, you typically also find a Vector3 structure which is like a Point that also has a Z value in addition to X and Y.
However, you appear to be talking about a Cryptography Initialization Vector, which is something else entirely. For that, you can review this link to understand the concept, but you should follow the MSDN documentation for the particular cryptography provider that you are using in your code.
Reed Kimble - "When you do things right, people won't be sure you've done anything at all"
- Marked as answer by Franklin ChenMicrosoft employee Monday, April 21, 2014 11:24 AM
Monday, April 14, 2014 4:44 PM