Small tags/sites
   22 tags on

Small tags/sites

  • All Sites
  • All Meta Sites
  • Cryptography
  • Meta Cryptography
  • Stack Overflow

0 answers

Is Google Encrypted BigQuery capable of querying encrypted data using LIKE operator?

I have been doing some research on to implement like operator onto query the encrypted data. I was wondering if Google's Encrypted BigQuery has this functionality implemented?

4 answers

How does RSA tokens work?

I would like to understand how RSA tokens (SecurID) work, what is the algorithm used there, is it the same algorithm as the regular RSA encryption/decryption ?

0 answers

Is Services class removed from Android Lollipop?

I am trying to make Terminal IDE usable on Lollipop 5.1.1. Using a Samsung E7 device, a mod version of Terminal IDE is provided by someone on XDA here: xda link I tried to use javac script in that ...

0 answers

Is it possible to crack/determine the type of hashing or encryption if infinite strings are given?

Say for example I have 3 strings: 3577388d86838d8ebcedfe51b937141d8055cf78db20171e9e1067025fc5cd29 f2cfba3d17a034b09a966677fef12b81fa23381f05d32a769a252e063d8ddf85 ...

0 answers

Coping files between two remote hosts

These are my credentials Host host1 User=myremoteuser1 Password= pswd Port=22 IdentityFile= /path/source Host host2 User=myremoteuser2 ...

1 answer

Cross entropy loss function and division by zero

I'm trying out the cross entropy loss function for neural network training, per the arguments at ...

0 answers

Visible but secure Authorization key

I have a login system for a program I am working on which I would like to implement a remember me button and use a hashed authorization key so I dont need to store the user's password. The current ...

0 answers

Is multiplicative blinding less secure than additive?

It's easy to see that additive blinding (e.g., $x+r$ for secret x and random r) is perfectly secure in a finite field (this is a one-time-pad) and statistically secure for $r$ uniformly distributed in ...

1 answer

How to find roots of equation $f(x)=0 \pmod p $, where $p$ is prime number?

$f(x)$is any nth degree equation $n>0$, how to find roots of $f(x)$ over prime modulo.

1 answer

Data encryption algorithm which decrypts the data only once but need a different key to decrypt it again

Is there any encryption algorithm already in which the encrypted data/file can be decrypted with the key only once, but it should re-encrypt the file so that a different key is needed to decrypt the ...

2 answers

What are possible caveats when generating a group for use as parameters for Diffie-Hellman key exchange?

As reusing a widely used group for Diffie-Hellman key exchanges might lead to far easier third-party key discovery through precomputation for that specific group, I would like to know what can ...

1 answer

MVN Package Build Failure

I am trying to package a java project using maven. I've done it before on my old computer, but I can't seem to make it work on my new computer. Here is the error: ` (env)kyle@thinkpad ...

1 answers | 7 hours ago by Kyle Calica-St on Stack Overflow
1 answer

IPython (Jupyter) notebook producing ghost line in all equations

I installed IPython / Jupyter using pip on a new machine (Macbook Air with El Capitan). In a fairly simple notebook of mine (created with the same version of the whole stack) all equations, inline or ...

0 answers

In latex preview pane mode, make the pane stay where I put it

Does anyone know how to make the pane in latex preview pane mode stay put? When I move it to the frame/window I would like it to be, it pops back to its default window when I refresh it, M-p. Edit: ...

1 answer

Error using RStudio and knitr to generate PDF: “Runtime 'knitr' is not supported for latex output”

I've been using knitr successfully with RStudio to generate HTML reports in Windows. I have installed MikTex 2.9 on the PC as well. If you go to the command line and type in latex it will find the ...

1 answers | 8 hours ago by user2925417 on Stack Overflow
1 answer

Error on using Vim-latex (“can't find file ~”)

I'm not sure if this question is appropriate here but I have nowhere else to ask. I recently started to typeset some 'mathsy' stuff using Latex and it became a hobby for me. I've been using ...

1 answers | 8 hours ago by user160738 on Stack Overflow
0 answers

Miller Algorithm of Weil Pairing implementation for Python2

I would like to implement miller algorithm for Python, but it cannot work correctly, Please help me. (1) Please tell me Miller algorithm's output of the following case. E/Fp : y^2 = x^3 + a * x + ...

3 answers

Pretty printing math in C# desktop application

What is the best method of printing math equations in a C# (winforms) desktop application? The format for the source is not important; I can generate almost anything with a little effort. What is ...

2 answers

Public key from private key in java is incorrect

I only have a private key and I need to calculate the public key from it in java. Following this answer Get public key from private in Java I came up with the following code: String pemString = "full ...

1 answer

How can I perform this Yii code in Yii2

Actually i need encrypt yii2 url id, like below example: from: http://localhost/projectname/backend/web/index.php?r=user%2Fview&id=20 to: ...

1 answers | 9 hours ago by Kalai on Stack Overflow
1 answer

Encrypting Decrypting sessions

I have this code which stores sessions inside the database. public function read($id) { // $id=rtrim(@mcrypt_decrypt(MCRYPT_BLOWFISH, 'qwerty', base64_decode($id), MCRYPT_MODE_CBC, ...

3 answers

OpenSSL ECDSA sign and verify file

I would like to sign and verify a pdf with elliptic curve. I got some code but it dosen't work. Create private key: openssl ecparam -genkey -name secp384r1 -noout -out private.pem Create public ...

3 answers | 9 hours ago by Michael on Super User
1 answer

Meteor accounts-password: get the password of logged in user

I am trying to encrypt some fields in a collection in Meteor. The encryption requires the user's login password. The password can be obtained when the user logs in. It is stored temporarily as a ...

2 answers

Is there a null HMAC?

I came up with this question while unit testing a function that includes an HMAC. What is the expected behavior of an HMAC with a well-defined key and a set of data with no elements in it? Is there ...

2 answers | 9 hours ago by JohnDvorak on Cryptography
3 answers

Common Modulus Attack not reproducible

I want to calculate a simple example of the RSA common modulus attack. However, the result is not correct and I do not find my mistake. p=$29, q=37, n=p*q = 1073, \phi(n) = 1008, e1 = 5, e2 = 11$ ...

3 answers | 10 hours ago by null on Cryptography
0 answers

Simple Concatenation in Salted Password Hashes

I once heard that if implementing a password hashing scheme, simply concatenating the password and salt together before hashing could lead to some subtle vulnerabilities, and I'm trying to figure out ...

0 answers

R markdown on OSX: pdflatex not found

I got the error when trying to knitr a R markdown file to pdf on OSX: pandoc: pdflatex not found. pdflatex is needed for pdf output. Error: pandoc document conversion failed with error 41 Execution ...

0 answers

Proofs of congruence relations

Exercise 2.3 from "Introduction to Mathematical Cryptography" Let $p$ be a prime and $g$ an element in $\mathbb{F}_p^*$ of order $r$. (a) Suppose that $x = a$ and $x = b$ are both integer ...

1 answer

OpenSSL key derivation

I'm trying to manually decrypt DTLS packets sent by OpenSSL. The cipher suite used between the server and the client is TLS_RSA_WITH_AES_256_CBC_SHA256 and my understanding is that the IV used by ...

1 answer

Secure ID in a JavaScript Enviroment

I want to to generate a secure, randomised string, in JavaScript. There isn't much around about security in JavaScript, because it is usually used on the client-side – in this case, I'm using it on ...

15 30 50 per page
1 2 3