© Marius Iulian Mihailescu and Stefania Loredana Nita 2021
M. I. Mihailescu, S. L. NitaPro Cryptography and Cryptanalysis with C++20https://doi.org/10.1007/978-1-4842-6586-4_5

5. Floating-Point Arithmetic

Marius Iulian Mihailescu1   and Stefania Loredana Nita1
(1)
Bucharest, Romania
 

As discussed in the previous chapter, working with big integers is an abstract art, and if the schemes are not implemented properly, the entire cryptographic algorithm or scheme can lead to a real disaster.

This chapter is dedicated to floating-point arithmetic and its importance for cryptography.

Why Floating-Point Arithmetic?

Floating-point arithmetic represents a special type of arithmetic which requires caution due to the representations and methods of implementations. ...

Get Pro Cryptography and Cryptanalysis with C++20: Creating and Programming Advanced Algorithms now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.