aboutsummaryrefslogtreecommitdiffstats
path: root/doc/manual/fpe.rst
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-09-28 10:48:41 -0400
committerJack Lloyd <[email protected]>2018-09-28 10:51:12 -0400
commit8e6fa0a74ee5bf3fcf129ae1c474a3d732500f74 (patch)
treedb9d7f035bdcea3ee1e36dcc5ad1dd4afa825a58 /doc/manual/fpe.rst
parent519b21c9586045be3e9316e57bbc5c68ba5841da (diff)
Spell check the documentation
Diffstat (limited to 'doc/manual/fpe.rst')
-rw-r--r--doc/manual/fpe.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/manual/fpe.rst b/doc/manual/fpe.rst
index efb85be60..9d77a4086 100644
--- a/doc/manual/fpe.rst
+++ b/doc/manual/fpe.rst
@@ -5,7 +5,7 @@ Format preserving encryption (FPE) refers to a set of techniques for
encrypting data such that the ciphertext has the same format as the
plaintext. For instance, you can use FPE to encrypt credit card
numbers with valid checksums such that the ciphertext is also an
-credit card number with a valid checksum, or similiarly for bank
+credit card number with a valid checksum, or similarly for bank
account numbers, US Social Security numbers, or even more general
mappings like English words onto other English words.
@@ -37,12 +37,12 @@ The interfaces for FE1 are defined in the header ``fpe_fe1.h``:
std::string mac_algo = "HMAC(SHA-256)")
Initialize an FPE operation to encrypt/decrypt integers less
- than *n*. It is expected that *n* is trially factorable into
+ than *n*. It is expected that *n* is trivially factorable into
small integers. Common usage would be n to be a power of 10.
Note that the default parameters to this constructor are
**incompatible** with the ``fe1_encrypt`` and ``fe1_decrypt``
- function originally added in 1.9.17. For compatability, use
+ function originally added in 1.9.17. For compatibility, use
3 rounds and set ``compat_mode`` to true.
.. cpp:function:: BigInt encrypt(const BigInt& x, const uint8_t tweak[], size_t tweak_len) const