Questions tagged [cryptography]
Questions regarding Mathematica cryptography related functionality (introduced in Mathematica 10).
60 questions
2
votes
2
answers
199
views
Saving encrypted data to reopen
I'm trying to build something in Mathematica where I can save data in an encrypted format, and reopen it later in the same tool. I'm new to using encryption features in Mathematica, and I'm having a ...
0
votes
0
answers
96
views
Internal`HouseKeep function definition
I came across the Internal`HouseKeep[] function. I can't understand exactly how it works. The name of the function is not at all descriptive, but if you call it, it ...
2
votes
0
answers
96
views
Where is SystemCredential stored on Windows? [closed]
Where is SystemCredential stored on Windows by default? (if stored in registry what is the registry path and if stored inside a file what is the file path). Is it ...
2
votes
0
answers
158
views
Mathematica Implementations of Post Quantum Cryptography Algorithms?
Mathematica supports several cryptographic commands like Encrypt, Decrypt and others.
This includes support for asymmetric signature ciphers like RSA and Elliptic curves and symmetric ciphers like &...
3
votes
1
answer
470
views
Computing point operations on an elliptic curve over a finite field [duplicate]
I'm working on a homework problem that asks you to compute $1943(1980,431)$, where $p = 2671$, $E:Y^2=X^3+171X+853$, and $P=(1980,431) \in E(F_{2671})$.
I found the ternary expansion of $1943$ to be $...
1
vote
1
answer
213
views
Find prime numbers two prime numbers given a certain constraint
The question is:
Find primenumbers p and q if n=pq=39247771 and φ(n) = 39233944.
Does anyone have an idea of how to approach this problem in mathematica?
Thanks in advance
1
vote
0
answers
102
views
What exactly are the square images generated from Encryption?
i.e. GenerateDerivedKey[] or Encrypt[] gives you a byte array with an 8 by 8 color grid that seems to represents a unique code ...
2
votes
0
answers
93
views
With v12.2, how to call gpg (or gpg4win) and tell it to generate RSA key pair and to return private and public key blocks and fingerprint?
Using Mathematica v12.2, is it possible to call gpg (or gpg4win) and then tell it to generate an RSA key pair and to return
private and public PGP key blocks in standand format
and the 40 hex-...
0
votes
1
answer
181
views
How to use every number between 2^50 and 2^100 without having to rewrite the code? [closed]
What I have currently written returns a numerical value and stores it in b100. p and q are random integers of size 2^50. I want to use the same code to calculate values where p and q ranges from 2^50 -...
0
votes
1
answer
118
views
0
votes
1
answer
313
views
2
votes
0
answers
172
views
BlockchainBlockData request limit exceeded
I'm trying to replicate this Blog entry on Bitcoin queries:
https://blog.wolfram.com/2021/05/25/sleuthing-darkside-crypto-ransom-payments-with-the-wolfram-language/
However, I don't get very far ...
2
votes
1
answer
1k
views
How to return two values from function
I have a function that generates cipher text for ElGamal encryption and I want to make return two values, but it returns only one. This is the code:
...
2
votes
0
answers
163
views
Ways to hide a secret token with some code?
I worked out a way to prompt notifications to peopel using my mathematica code that a new version is available. My code is in a private github repository, mathematica can access it using http requests ...
3
votes
2
answers
217
views
HMAC SHA256 implementation in Mathematica 11.3
I need a HMAC SHA implementation for Mathematica for an API authentication. I am not experienced at all in cryptography, hash functions, and HMAC. So far what I found is this:
...