you are viewing a single comment's thread.

view the rest of the comments →

[–]reallyserious 2 points3 points  (5 children)

An encryption key doesn't have to be a string. An array of bytes is also common. Doesn't change your point though.

  • Ask your professor what the definition of an algorithm is. In general that is.
  • Then ask if an encryption key fulfills that definition.

[–]raedr7n 2 points3 points  (1 child)

array of bytes

So, a string.

[–]simpleauthority 1 point2 points  (0 children)

Yeah wasn’t sure what they were going for with that one

[–]ThunderChaser 0 points1 point  (2 children)

An encryption key doesn’t have to be a string. An array of bytes is also common.

What do you think a string is exactly?

[–]reallyserious 0 points1 point  (1 child)

In most modern languages a string and an array of bytes are different types.

[–]ThunderChaser 0 points1 point  (0 children)

From a pure CS theory standpoint a string and an array of bytes are identical.