Small tags/sites
   21 tags on

Small tags/sites


1 answer

Exploding planets and entropy

Say we have a planet and we blow it up to tiny pieces that gets spread out in a cloud of debris around the planets original location. This cloud of debris is analogue to a cloud of water wapor in ...

1 answers | 11 mins ago by loldrup on Physics physics.stackexchange.com
2 answers

Encrypting in Coldfusion and then decrypting in PHP

I have a problem reproducing the same result generated in PHP vs Coldfusion. In PHP encrypting this way: <?php $key = "$224455@"; $Valor = "TESTE"; $base = ...

1 answer

How to pad a string with null/zero-bytes in ColdFusion & difference between CF on MacOS and Windows

I'm having trouble understanding how I can pad a string in CF with null bytes. In Java I would do this... String ZeroPad = ""; for (int i = 0; i < 32; i++) ZeroPad = ZeroPad + "\0"; String ...

1 answers | 28 mins ago by E-Madd on Stack Overflow stackoverflow.com
0 answers

Is modular Barrett reduction usable for Ed25519?

I currently try to implement Ed25519 following this draft. I have implemented every field operation except the reduction by the group order $q$ (in chapter 5). I looked for a reduction algorithm and ...

0 answers

More efficient and just as secure to sign message hash using Ed25519?

According to the Ed25519 paper, the (potentially long) input message is hashed twice (see http://ed25519.cr.yp.to/ed25519-20110926.pdf Section 4 page 12 steps 1 and 3). The webpage ...

1 answer

Java compiler command concept is eluding my grasp

OK, so the problem that I am having is that whenever I type javac into the cmd prompt, it doesn't compile the file I specified. I have a couple if question to help my understanding of what it actually ...

1 answers | 2 hours ago by Peter_Browning on Stack Overflow stackoverflow.com
1 answer

How to ues javac to compile .java files wrote in a txt file?

I have some .java file, like a.java, b.java, c.java...., is there a way to compile them together by writting .java files' name into a txt file, and use some javac opitions to compile them? Like ...

1 answers | 2 hours ago by jitron on Stack Overflow stackoverflow.com
1 answer

Signature Verification: High level

I'm trying to understand how certificate signing and verification works conceptually. I know the classic example with asymmetric cryptography- the sender encrypts data with public key of receiver, ...

3 answers

Fast, simple to use symmetric cipher for integer encryption in Java

What is in Java a cipher function for integer encryption having these properties?: Fast Symmetric-key algorithm Simple to use (i.e. a couple of lines of code to use it and no external library to ...

1 answer

Python 3 - Socket Chat Encryption with PyCrypto gives UnicodeDecodeError

I am trying to setup a socket chat with encryption in Python 3, but when decoding UTF-8 it gives an error. Here is the code: Client: from Crypto.Cipher import AES from Crypto import Random import ...

1 answer

implementing CBC encryption using decryption

I've implemented this algorithm which, working from the end of the message backwards, creates a valid CBC ciphertext from any plaintext, using the block cipher's decryption operation instead of the ...

1 answer

can cramer-shoup public key have two difefrent private key?

since I am new to Cramer Shoup algorithm I want to know is it possible to have 2 different private key for a public key due the key pair generation algorithm that Cramer Shoup use? I know that in ...

1 answer

Coerce TeXForm(“Sqrt(x^2/(z^2+1))”) result to a character automatically

I have formula that I converted to LaTeX by Ryacas::TeXForm. I can`t get from the result character sting that contains LaTeX code, without doing it by hand. I tryed: y<-"Sqrt(x^2/(z^2+1))" ...

0 answers

OpenSSL - check on what engine is a function called and if hardware is really used?

First of all, I'm a beginner in the OpenSSL world. I apologize in advance for any basic, barbaric errors. Consider a flow: Initialize OpenSSL with engine using hardware (let's call it EngineHW). ...

1 answer

Java AES CBC Decryption First Block

I've got a big problem with AES Cryptography between Java and C++ (CryptoPP to be specific), that I was expecting to be way easier than asymetric cryptography, that I managed to solve earlier. When ...

1 answers | 3 hours ago by markubik on Stack Overflow stackoverflow.com
1 answer

Encrypting files using RC4 encryption algorithm in C#

First off, my question is, How do I encrypt and decrypt a file in C# using the RC4 encryption algorithm?. This is not a duplicate of these questions: What is a NullReferenceException and how do I ...

1 answer

Is constructing IND-CCA2 public key encryption schemes particularly easy with the KEM/DEM approach?

After the introduction of McBits, I was interested what security notions are neccessary for IND-CCA2 security of integrated encryption schemes (IES, following the key encapsulation mechanism / data ...

1 answer

Read encrypted text files in c#

I have encypt a text file by the System.Security.Cryptography.Aes class. And I want to read it. The encrypted file is like this: ...

1 answers | 4 hours ago by de li on Stack Overflow stackoverflow.com
2 answers

Format suitable to export to both html & pdf?

I need to maintain many documents which need to be able to be viewed as 2 different types of format: PDF & HTML. The document will be mostly text, but may contain some images or mathematical ...

2 answers | 4 hours ago by Teddy on Stack Overflow stackoverflow.com
1 answer

“Most Similar Vector Problem” on an Integer Lattice?

I am currently working on problem that I think could be expressed as an integer lattice problem. Given $u \in \mathbb{R}^n$ and a bounded integer lattice $L = \mathbb{Z}^n \cap [-M,M]^n$ I would like ...

1 answer

latex enumerate custom numerical order

are there any simple: almost a single liner latex commands to make enumerate count in a weird order for instance that of a homework assignment? Ex. 1, 5, 6, 9, 10, 13, 16

1 answer

Disabling input maps in ATP

I’m trying to use the Automatic LATEX Plugin for Vim (ATP), and found it has quite neat features. However, I do not like input abbreviations, so I tried to disable them using let g:atp_no_env_maps=1 ...

1 answer

WebCryptoAPI - Does it support signing with cryptographic tokens?

I would like to be able to sign data on the browser using 100% JavaScript and cryptographic token based keys. From what I have seen so far, all old implementations of this functionality are being ...

0 answers

Hardware accelerated cryptography — fasted access from userspace?

So I have an embedded (Linux) system with a crypto co-processor and two userspace applications which need to use it: SSL (httpd) and proprietary code; maximizing speed and efficiency is the main ...

1 answer

Convert R matrix like `m<-rbind(c(“x/(z+1)”,“x^2/(z+1)”),c(“y/(z+1)”,“y^2/(z+1)”))` to table it to .doc

I want to insert R matrix like m<-rbind(c("x/(z+1)","x^2/(z+1)"),c("y/(z+1)","y^2/(z+1)")) as a table in R Markdown than knit it to .doc. I would like it in a neat form, such that all cells are ...

2 answers

How is the MAC or HMAC secret shared with the other party for verification?

I've seen people everywhere say to use a MAC or HMAC with block ciphers. I think I understand the basics, but I'm still not sure how the HMAC secret is distributed so the other party can verify that ...

2 answers | 6 hours ago by user1193112 on Cryptography crypto.stackexchange.com
1 answer

Code in a @future method not working

I am trying to write a trigger that will transfer attachments from a Task object to the related Opportunity object from emails & attachments using Salesforce for Outlook. I have the basic trigger ...

1 answer

Transforming Gaussian random $[0,1] $ numbers to uniform $[0,255] $

I am not exactly sure if this is for math stackexchange or crypto: A TRNG outputs numbers in $[0,1]$ in a Gaussian distribution. I would like to convert them into uniform random bytes ($[0,255] $) to ...

0 answers

Use of server and root certificate in ssl termination and inspection

I'm researching vendors which allow ssl termination and inspection, I came across cisco CWSA technology, the technology was somewhat easy to understand the stuff which really boggled my mind was the ...

1 answer

Intercept activiti database operations

I'm working with Activiti 5.14, and I have a requirement: All the data in the database should be encrypted. So, was trying to come up with a solution encrypting the data before to pass to the ...

15 30 50 per page
1 2 3