instruction
stringlengths
32
27.2k
I have two plain texts files cipher with RSA (with the same public and private key) and I have their cipher texts too. Would it be possible know the public key from that information? My messages have 10 characters and I cannot calculate a huge exponential operation. No padding is used on the messages before encryption....
I am testing TLS 1.3 on a slower IoT device (120Mhz ARM). In my tests Chrome with TLS 1.3 will not allow TLS resumption (Session Tickets) when you have an not secure connection e.g. because of an user accepted self-signed certificate. Additionally you will see almost the doubled number of TCP connections when loading f...
What is the best way to transform a hash with a longer length into one with a smaller length, preventing as many collisions as possible? (Hashing the hash) For example: Some versions of Git use SHA-1 for hashing commits. Of course, 15ce7ff90976b3e43738be403f5c985377646bb3 is rather large to display on a screen. Because...
I am looking into an article about 32bit CPU/MCU software implementation of AES and there are some weird changes over there. Like shift-rows. It seems that the shift-rows in the 32bit implementation is shift columns instead. So my guess is that the 32bit implementation returns different output than the 8bit implementat...
consider that an attacker has the public key $(n, e)$, where $n$ is $1024$ bits long, the $32$ largest bits of $p$ (where $n = p \cdot q$), as well as $u = p^{-1} \pmod q$. Is there an attack that would allow this attacker to perform an attack on rsa and therefore be able to decrypt a message or retrieve the private ke...
I am a beginner in cryptosystems and I hope I would be accepted in the community. I was trying to implement Singh and Singh (2015) ECC image encryption algorithm on Matlab. I have been able to encrypt and decrypt images successfully with the algorithm. However, the width of my cipher image increases by (1/group) x plai...
I was trying to make a software only implementation of AES (Rijndael). At first I was able to implement it using table lookups for the Galois field multiplication and also for the SBox, but, I really wanted to remove all table lookups as they are prone to cache timing attacks. But implementing the Galois field Multipli...
I am writing my Bachelor thesis on topic "Current state of stream ciphers". So my questions is: Which stream ciphers are used the most. So far I have A5 family, RC4, E0 (Bluetooth), Snow 3G and ZUC (5G), Salsa20 family (Chacha20) and block ciphers in some operation modes (OFB, CTR). I am missing whole lightweight crypt...
For a crypto course I need to realize a small software project where a client and a server want to communicate over a unsecured network. They both have the same secret. So I bascially have to secure Diffie Hellman against MIM attacks. Now I must admit that I don't really understand the mathematics behind DH, but I gra...
An attacker is equipped with a computer that performs 10 trillion (1013) DES decryptions per second, what is the average time required, in hours, for a brute force attacker to break DES? Key size is 56 bits. I tried 256/1013 divided by 3600 but the answer is incorrect.
I've spent the night reversing the implementation of the 'Basic Text Encryptor' from Jasypt [1]. The algorithm is defined in documentation as 'PBEWithMD5AndDES'. The implementation is this: A random 64-bit salt is generated The secret is generated as secret = password + salt for i in range(0, 1000): secret = md5...
Alright so I have some understanding of encryption and how it works. I was trying to explain it to my friend and a few others I couldn't at the time. I later came up with an analogy. How accurate is this without getting too in depth Dale, Sam, and Max are all sitting in a class room at their desks [Dale]---[Sam]---[M...
I am working on a system that includes our dear friends Alice, Bob, and a server that is only partially trusted. I have spent the majority of the day reading up on various cryptography methods, but I have concluded that I need some help to decide on the ones that best fit my use case. For starters, I do not need authen...
This is a question out of curiosity! I really don't know of any other block cipher that is as secure as AES that has a substitution permutation structure and can be used as an alternative to AES to protect implementations against cache timing attacks. Searching Google, revealed other NIST finalists, but the best of the...
So far, as I understand it, two ways to reduce the complexity of Argon2i have been found, one of which was fixed in Argon2 1.3, and one of which is still unfixed but is not a practical problem given enough Argon2i passes. What I have not seen properly explained anywhere, is whether these weaknesses effect Argon2id, or ...
Hello I'm working in a school project and I'm trying to resolve an issue. I have a server, a BLE device and a computer. The BLE device is constantly advertising data, I'm using 7bytes of the data leaving 17 bytes left and I want to use the rest of the bytes to check the authenticity of the BLE device. So, when a comput...
Assume that, in the available environment, it is not possible to use modern password hashing functions (bcrypt, scrypt, Argon2, PBKDF2, etc.), so it is necessary to roll my own stand-in, until they become available. (Or call it a theoretical question, because either way I'll learn something from your answers.) With a s...
GCM is designed to use a 96-bit nonce, which can be generated either randomly or deterministically. If you use a nonce that isn't 96 bits then it is padded and hashed with GHASH to create a pseudorandom nonce (and block counter) instead. For example, suppose that you generated uniformly random 128-bit nonces, these wou...
I have all of the Shamir's secret shares required to Lagrange-interpolate f(0), which represents an ECDSA private key. The field of this object is secp256k1, which has associated prime number p=115792089237316195423570985008687907853269984665640564039457584007908834671663. The Lagrange interpolation produces a negative...
Here is the scenario, I am signing roughly 1000 messages, which consist of 16 byte hashes, with 1024 bit RSA. The private key is only used to sign the hashes, and there is no padding scheme. The attacker has access to all 1000 messages and the public key. That is all they have to work with (no chosen plaintext ability...
This question arose from a new context under early developments. If cryptographic operations are not well chosen or badly sequenced, please do notice it along your answer or comments: I am a layman in cryptography. If you think this post should be improved, any constructive feedbacks are welcome, I am new to this stack...
I just want to know that can we write encryption and decryption formula like $C=E(P,K)$ instead of $C=E(K,P)$
Recently, I try to read some papers about Password Authenticated Key Exchange (PAKE). I can’t understand the meaning of “dummy password .” Can someone gives a concrete definition of it. And what is the difference between password and dummy password? The context for this question is the following sentence: then, we m...
I'm reading the Handbook of Applied Cryptography by ‎Alfred J. Menezes et al. Especially, I'm stuck with the case that reusing key for CBC encryption and CBC-MAC in MAC-then-encrypt structure. My question is: in MAC-then-encrypt structure, that textbook's p.367 states Example (improper combination of CBC-MAC and CBC ...
Really, I could not understand why the decryption process of CFB malleability gadget takes the next cipher block while PGP uses the previous block as shown in the equations in the attached image, I read Efail attack paper but I could not understand how it works? Could someone clarify it to me.
The scenario is described as following: Let $A$ an user that is transmitting an encrypted (with its own public key $PK_A$) data vector containing its position as $p = Enc(PK_A, [x,y])$ towards a group of users $U = [u_1, u_2, \dots, u_n]$. Is it possible that each of these users belonged to the group $U$ positioned at ...
My professor showed us the basics of DES, and then displayed this slide where the Complement Trick can be used as a way of cracking DES. Could someone explain the math to me please?
I would like to understand the linear approximation of $(x+y) \bmod 2^n$ by linear masking method in the paper refereed ""Improved Linear Distinguis'hers for SNOW 2.0" by Kaisa Nyberg and Johan Wall´en." In Page number 14 to 15, one theory has been given. I am unable to understand the $A_r$ matrix computation. Specia...
My professor showed us the basics of DES, and then displayed this slide where the Meet in the Middle attack can be used as a way of cracking DES. I believe at this stage we are doing 2DES, as opposed to DES or 3DES. Could someone explain the math to me please?
In Diffie-Hellman over $Z_p$, I know that if I choose a random $a$ in $Z_p$ and compute the modular inverse mod p-1, not mod p, then, with generator $g$ of my group, I can compute, for example, $(g^{ab})^{(a^{-1})} = g^{aa^{-1}b} = g^{b}$. I am asking if a similar process is possible over elliptic curves? If I have a g...
In Regev's lecture there is "In contrast, virtually all other cryptographic constructions are based on some average-case assumptions. For example, in cryptographic constructions based on factoring, the assumption is that it is hard to factor numbers chosen from a certain distribution. But how should we choose this dist...
Website on https://example.com/login will request client certificate authentication. If it was directly on https://example.com then using openssl s_client example.com:443 will show client certificate names. How to get client certificate names on subpath with openssl commandline? Checking with browser and Wireshark I s...
Diffie-Hellman Key Exchange Basic Protocol: Let G be a cyclic group of order $n$ and generator $g$. Alice chooses $a \in \{0,\ldots,n-1\}$ and Bob chooses $b \in \{0,\ldots,n-1\}$. Alice computes $h_A = g^a$ and Bob computes $h_B = g^b$. Alice sends $h_A$ to Bob and Bob sends $h_B$ to Alice. Alice computes $(h_B)^a =...
Is there a way to check, (with openssl command for example), if a given public key match with a private key ? Thanks
I am dealing with protocol design regarding the Diffie-Hellman Key Exchange (DHKE). The DHKE is performed by the Key Master and some Slave Component. Afterwards, a session key is transmitted using the secure channel provided by the DHKE (i.e. the session key is protected using the shared DH key). From a logical standpo...
Consider the following very simple cipher, where, to send length $n$ bit-strings, we randomly correspond the numbers $1, 2, 3, ..., N$ with $n$ bits, so the key is the correspondence between each integer and the bit value it maps to. Then, to share a bit-string, Alice will send Bob a permutation of the integers $1, 2,...
This is a follow-up to this question (thanks to answers from @fgrieu and @kelalaka ) about the format of a salt when hashing a salted password. I realize this is pretty much academic, as the proposed uniterated SHA-256 of a salted password is already acknowledged to be much less secure than trusted password storage alg...
Regardless of the KDF I will use, let's imagine that I have to generate two keys: one for authentication and the other for encryption (which will always remain on the device that generates it until logout). Of course, the key I use to encrypt and decrypt must always be the same. I read some answers on this site that su...
I've started looking into differential privacy from scratch following "The Algorithmic Foundations of Differential Privacy" by Dwork and Roth (freely available online). The mathematical notation is however somewhat confusing. On page 16, they define Probability simplex and Randomized algorithm as: Is it correct that $...
I'm building a system to authenticate users to a website via a single use login token. This token can either be included in links OR typed in directly by the user as a code. Because of that second requirement I'm interested in the token being as short as possible in order to improve user experience. There are plenty of...
I was reading a paper (Function Secret Sharing by Boyle, Gilboa and Ishai, PDF) on Function Secret Sharing and in that the author talked about a naive construction of a p party DPF wherein the truth table is additively shared. What does it mean to share the truth table and how does it help?
Background of the problem: I am undertaking a blockchain course at University and I have taken up a case study for blockchain that relates to logistics. The requirements are simple, yet I am confused with the storage segment of blockchain. Given that we have a table of deliveries to be made, I incorporate certain field...
For consistency's sake, M is the message, H1 and H2 are separate hash functions. I've heard that concatenation or XORing hash outputs together do not provide improved security against preimage and collision attacks. In some cases, they actually reduce the security instead. Therefore, consider the following scenarios: ...
The outputs I'm getting are only 2x the length of the input strings so any kind of brute force programme would be fine. Thanks.
I need some help with the following statement from the book A Graduate Course in Applied Cryptography* - Dan Boneh and Victor Shoup, in 8.10.1 The key derivation problem, page 320 of v0.5: Later, we will see examples of number-theoretic transformations that are widely used in public-key cryptography. Looking ahe...
A while ago, Hellman introduced a time-memory tradeoff for chosen plaintext attack on block ciphers. There is an innovation due Rivest using a concept of 'distinguished points'. I am looking for the original reference to Rivest's contribution. All references I have found to Rivest point me to the book D. Denning, Cryp...
I have just started learning cryptography. And I came across such a question that had troubled me for several days. The picture contains an LFSR and an S-Box. The LFSR is 32-bit long and the inside structure of the S-Box is unknown which means the whole system is keyed by the S-Box. The round function picks four bits...
I'm reading about the security of the Signal protocol (used in WhatsApp) and in particular, the X3DH part used to establish authentication, all papers seem to gloss over Man in the Middle attacks. Is it possible or not to MitM between users and the server? Seems easy on the server.
Some exciting progress to pure mathematics is due to Bourgain Springer - Multilinear Exponential Sums in Prime Fields Under Optimal Entropy Condition on the Sources with applications to randomness extractors and gave the first two source extractor with min entropy rate <0.5 Since this paper there’s been other innovatio...
I wrote a small code to compute the time consumption by the AES in CBC mode, I noticed that the encryption is faster than the decryption, my question: Is my result correct? If yes, why is the encryption faster?
Sorry for not having a better name, but I cannot seem to find a better name. Each client will append an element $a_i$ to the server at some time, and the server keeps appending the element to the database $\{a_1,a_2, \dots, a_i\}$. Is there a way for the server to "cryptographically" prove to the clients that it behav...
Let $H : \{0,1\}^*\to \{1,\dots, 2^{256}\}$ be a hash function. Let $p > 2^{256}$ be a safe prime, and $\alpha$ a primitive root for $p$. Define: $$H'(m) = H(m || m),\quad H''(m) = \alpha^{H(m)}\bmod p$$ Where $m||m$ is the concatenation of $m$ with itself. I am confused how when given hash functions like this, how to ...
I'm reading the paper "Quantum secret sharing" by Hillery, Bužek and Berthiaume (Phys. Rev. A, 1999; preprint on arXiv) and I have a question about it. Let's say Alice wants to send Bob qubit in state $|\psi_A\rangle = \alpha|0\rangle_A + \beta|1\rangle_A$, and she has one qubit from GHZ state $\frac{1}{\sqrt 2}(|0\ran...
There have been lots of DPA researches against block ciphers. I was wondering if we use a cryptographically secure hash of an incremental counter as a stream cipher, will it withstand DPA attacks? Ciphertext = Plaintext ⊕ HASH(counter) My assumptions are: The initial value of the counter is kept secret; There seems...
I a problem that essentially boils down to the following: There is raw data, D, encrypted with key K (call its encrypted form E). The same raw data, D, is also encrypted with key K' (call its encrypted form E'). Given E and E', and also secure hashes of K and K', it should be verified that D was properly encrypted both...
Has anyone encountered an encryption method that compresses the cipher text to a single byte at the expense of inflating the key. If yes does it have a practical use?
I am currently making a Python game where the user's high score gets encrypted and stored in a log (a text file). The reason for this encryption is because I don't want the user to be able to enter something (say, 1000000) into the text file. Is there a function that, given a string, will generate a string that looks r...
I'm implementing Schnorr signatures following a variant used in Bitcoin Cash (BCH) of this algorithm: GitHub - Schnorr Signatures for secp256k1. A notable difference is that the BCH schnorr algorithm uses this variant: IETF - Variant for k calculation. I'm in scala using bouncy castle from Java. I calculate k by using ...
I need to decrypt a ciphertext which is short, and I have the first word of the plaintext. I thought of doing a probable-word attack, but I already know the position of the known word. In addition, subtracting word from cipher gives a random sequence, which makes me kind of hopeless. So consider this is the ciphertex...
Given haphazard large integers $a$ and $b$ (like few thousand bits), can we efficiently find (and how) some integer triplet $(p,x,k)$ with $p$ a large prime (like a thousand bits) $a^x\equiv b\pmod p$ $k$ sizable (say of 10 bits or more if possible) and dividing $p-1$ $a^{(p-1)/k}\equiv 1\pmod p$ These conditions mat...
I have been reading a bit about encryption algorithms. I have come across these two algorithms.My use case is the ability to work with encrypted data and my data will be string data. I see that homomorphic encryption works with only numeric data. I have read that homomorphic has scalability issues as it creates a 100x ...
I multiply 2 numbers using their polynomial representation and addition via XOR. Do I need to find the remainder of the division by $x ^ 8 + x ^ 4 + x ^ 3 + x + 1$, using the operator "%" or by division, using the rules of finite fields?
This is how I understand digital signature verification to work in general: Plaintext gets run through a hashing mechanism to make a message digest (IBM's terminology, there appear to be plenty of other terms for the hashed data). Message digest is encrypted using sender's private key. Both encrypted message digest a...
I don't quite get the algorithm yet. Sometimes it works and other times it doesn't,so clearly I am overseeing or misunderstanding something. I will just write what I did. My $N=143$ and has factors $p=11$, and $q=13$. To determine my second public number: $R=(p-1)(q-1)= 10 \cdot12=120$. So the second number can not ...
I knew the reading on a car odometer can be easily modified with the help of some softwares. But isn't there MAC to protect the reading from being modified?
I've seen it posted on different forms here and here that explain how java.util.Random library uses a linear congruential pseudorandom number generator which can be cracked using two values. Can this type of exploit go one level deeper and guess the nextByte data used to fill in the rest of a BigInteger value? private ...
I have been going over the CKKS Homomorphic Encryption scheme but I can't seem to understand how the mapping takes place while encoding. I don't get what the line below is trying to convey. I saw this line in a post on Reddit. It would be super great if someone could illustrate this scheme with an example. Thank you! ...
I am using LibVLC and Unity to playback locally stored encrypted 360 videos. VLC's Unity package has a feature to play content via a C# stream. I am using a FileStream wrapped in a CryptoStream to get this working. This works for medium to small videos however, larger, high bitrate videos don't playback properly with m...
The purpose of the authentification is to ensure the data integrity. Let's just focus on the authentification part of the GCM which is using the Galois field multiplication to create an authentification tag. Eventually, this tag will be verified on the receiver side. Say today I already have a CRC32 scheme that used in...
The content I ask in this question is in the following picture in GPV08. I do not understand the sentence computing the syndrome $\bf{Ae} \mod q$ for some $\bf{e} \in \mathbb{Z}^{m}$ is equivalent to reduce e modulo the lattice $\wedge^{\bot} (\bf{A})$. Is it to say they are bijective or they are even equivalent in ...
The content I ask in this question is in the following picture in [GPV08][1]. I do not understand the proof of the first claim in $\bf Lemma$ 5.2. In the proof, which reprensents the uniform distribution over $\mathbb{Z}_{q}^{n}$ and which represents $\bf{u=Ae} \mod q$. Could someone explain it to me? Thanks! [GP...
ssh uses public keys for authentication and not signed X.509 certificates. Specify a drawback which would be the use of X.509 certificates instead of public keys. I've tried to look up a lot of different things, but the certificate seems superior in every way.
Are there any other commonly used exponents? Why are they selected?
Suppose I have a certain sequence of bytes, for example 0102F4829hex, and I can pick from a pseudo-random number generator exactly one number. Is it possible, by using exactly one pseudo-random number each time, to generate all the permutations of the initial sequence of bytes following a uniform distribution?
In my model I use two different keys, one for authentication and the other for the encryption / decryption of the data that the user saves, each derived from the master password with a KDF function. How can I safely manage the password recovery for the user if I have no trace of the master password on my database? Wha...
Let $p$ be a prime. (say 256 bit) Does there a exist a prime $q$ such that $q = (2^k)p + 1$, for a large $k$ (something like 256), if it does exist, is there a way to find out for which all $k$ such a $q$ exist. [I know it exists for k =1, I am looking for a large $k$]
I am reading specifications from my client that focuses on the topic of security. In these specs, the term key material has appeared many times. I used Google to look for what the term means. Unfortunately few posts explain what it means. What is the difference between key and key material, if any?
As we know about Shor's algorithm on quantum computers it is possible to crack RSA / ECC easily if we have enough qubits. Is it possible to crack RSA / ECC on a quantum computer if we only have ciphertext and don't have the public key used to encrypt itself? Does it matter if we have many ciphertexts and corresponding...
The key generation algorithm for Ring-LWE is as follows. Have a ring $R_p =Z_p[x]/(x^n + 1)$. Then pick a uniformly random $a$ from $R_p$. Pick $s$ from an appropriate distribution. Pick $e$ from the error distribution (typically a constant-size Gaussian). Compute $b = as + e$. Reveal $(a, b)$ as the public key and $s$...
Suppose $P\in E(\mathbb{F}_q)$ and $R=dP$. In the MOV attack, we compute $\alpha=e(P,T)$ and $\beta=e(R,T)$ and try to solve the discrete logarithm problem for $\alpha$ and $\beta$ in the finite field $\mathbb{F}_{q^k}$ where $k$ is the embedding degree. But if $E(\mathbb{F}_q)$ is cyclic (which it can be even in the...
I’m reading this paper of Lai and Massey where they give a very nice perspective on differential attacks in general http://www.isiweb.ee.ethz.ch/papers/arch/xlai-mass-inspec-1991-3.pdf They do their analysis with a general group operation (see Definition on pg 6) which is classically taken as XOR. Have any ciphers bee...
Let $f(x) \in \mathbb{Z}_p[x]$ (for a prime $p \gg d$) be a polynomial of degree $d$, and let $g(x)$ be a Laurent polynomial with the same degree and only the first negative exponent term ($g(x) = \frac{a_{-1}}{x} + a_0 + a_1 x + \dots a_dx^d$) over the same field. Now, say we are given oracle access to both these fun...
The choice of $n_\text{Len}–K_\text{Len}–2\,H_\text{Len}–2$ zero bytes seems arbitrary to me and I can't see any reasoning for why it was chosen and it doesn't look like the zero bytes being replaced at any point either? Why was this specific formula used? From section 7.2.2.3 of Recommendation for Pair-Wise Key Establ...
I read Quite a lot document about breaking AES using CPA. But most of them, assuming that attacker has the first or last round of the waveform(trace) and exploit SubBytes. My question is if the AES-128 (or AES-256) can be attacked even if attacker has only a certain round of waveform, not the first and last. Even if at...
Assuming that Alice and Bob know the hash of each other's public key, take this method: Use ECDiffieHellman with temporary private keys each time to generate a per-session shared symmetric key Create an AES connection secured with the shared key (unique IVs for each message, verified with HMAC) Send their public keys ...
I need to have a way to communicate securely over a local network. There are two computers, computer A and computer B, computer A is the server and B is the client. B opens a channel to A, at which time A generates a session key, that it can then share with B. This certificate is good for one session. The channel whic...
I have read several articles on the temporal attack against Montgomery multiplication to speedup RSA computations. However, I do not quite get the principle. I understood that there is a additional reduction when performing Montgomery multiplication when the multiplication is greater than the modulus. What I don't un...
Covert adversaries have the property that they may deviate arbitrarily from the protocol specification in an attempt to cheat, but do not wish to be caught doing so. Does this model includes also the case in which adversaries do not cheat in case it does not maximize their utility function, e.g., they lost an escrow?
Supposing I wanted to send a one-time pad to a friend. What would be a good way to do that, supposing that it could be intercepted? At first blush, encrypting it would seem safe, because the encryption would seem impossible to crack, given that what it encodes is random (result of unsuccessful decryption is not obvious...
I'm trying to understand subfield attacks on overstretched NTRU. In the paper https://eprint.iacr.org/2016/127.pdf authors used "canonical inclusion map" to lift vector to full lattice. What does the canonical inclusion map relative to finite fields mean? And where can I read more about this construction?
One problem with Lamport OTS is that the attacker can repeatedly try random inputs and there is a chance that a hash of a random input will match one of a large set of public keys, reducing the security margin somewhat. But suppose the public key for the ith bit is calculated as [ TRUNCATE-128(HMAC(S0,i||"0")) , TRUNC-...
Are there any public-key cryptography protocols which don't rely on one-way (or trapdoor) functions? RSA and Diffie-Hellman cryptographic protocols both rely on one-way functions (prime factorization and discrete logarithm). Lattice-based cryptography is based on the Shortest Vector Problem which is NP-hard, but is it ...
In the context of the UC framework, what is the border between an ideal functionality and a protocol? It seems to me that it depends on the level of granularity required for proofs. For example, the same protocol ${\Pi}_{1}$ may be described in more than one way: ${\Pi}_{1}$ requires parties to interact just with on...
Given a commitment scheme which is computationally binding (based on some conjectured hard problem, say), does it also imply that the scheme is unconditionally hiding? My idea was: Since the scheme is computationally binding, it can be broken by an unbounded adversary, who can produce two openings to the same commitmen...
So I understand that a keystream is generating from a key and is the length of the message you want to send, so that you can properly XOR every bit. But I'm having trouble finding and understanding the algorithm for creating the keystream from the IV and key. One idea I had is if you have a message of length 100 and k...
My team wants to implement the ElectionGuard as the main part of an e-voting scheme (even if it is known that e-voting protocols are malleable; for the purposes of the voting scheme it is enough). Note that ElectionGuard security is based on the discrete logarithm problem. We want to use a Digital Signature Scheme in o...
Both parties uses Curve 25519 key pairs for ECDH key exchange. What is the key length of shared secret after ECDH?
I need securely asymmetrically encrypt the up to 16 bytes plaintext and receive up to 32 bytes ciphertext. I found that ElGamal produces ciphertext that is 2 times keysize. So I would need to use 128bits keysize, which are not secure enough. I can use any keysize, but the ciphertext must not exceed 32bytes. Is it possi...
I work with Historical Geographic Informations Systems on the academic level. I note this to give you an idea of my technical knowledge when it comes to computing, but that most of my knowledge of cryptography is a little outdated I'm more familiar with say the caesar cipher, the Enigma Machine, VENONA, etc from readin...
I am searching for a simple hash algorithm(s) which can be used to calculate relatively secure hash without using of any computer. Some requirements: use only simple arithmetics operations (+ - / *, maybe mod and abs) base of 10 (letters can be substituted with groups of 2 digits), not binary short time of calculatio...