A
A
Anton @ Lyalin2016-11-17 16:54:53
Java
Anton @ Lyalin, 2016-11-17 16:54:53

How to encrypt GOST 28147-89?

Can't figure out what to do?
I read that the text is divided into blocks of 64 bits - does this mean you need to use the binary representation of characters ?? If you need to use this view how to do it in Java? That is, each character should be translated into binary system? And what type of memory to use, byt, I can’t figure out how, although I googled a lot of sites. It is not necessary to rub about the algorithm, I do not understand the very essence of this method.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Bulgakov, 2016-11-17
@alebul

well, if for example you can read from a file, you can use a scanner, read about this function - https://docs.oracle.com/javase/7/docs/api/java/uti... you create an array where you shove 8 bytes into each cell and further work with them

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question