ciphers

How to disable weak-ciphers on rmi port on Jboss 4.2.3GA?

I don't have any service connector port setting for rmi in file /deploy/jboss-web.deployer/server.xml. I have an mbean for org.jboss.invocation.jrmp.server.JRMPInvoker in /conf/jboss-service.xml in which I have settings for ports, serveraddress, etc. How do I specify cipher-suites for rmi so that I am able to disable week ciphers (less t...

How to specify a cipher for an SSL connection in .NET?

How can I specify a cipher suite to use in an SSL Connections? I know that Mentalis Seclib got this feature however they don't maintain the project (and there are issues in that library with x64 OSes) as they say .NET Framework 2.0 introduced those features. However I couldn't find a way to do this in .NET Framework 3.5. To be more s...

Are Encryption and Cipher different things?

I heard some time that encryption and cipher are not the same thing, if so, what's the difference? ...

.NET Regex - Replace multiple characters at once without overwriting?

I'm implementing a c# program that should automatize a Mono-alphabetic substitution cipher. The functionality i'm working on at the moment is the simplest one: The user will provide a plain text and a cipher alphabet, for example: Plain text(input): THIS IS A TEST Cipher alphabet: A -> Y, H -> Z, I -> K, S -> L, E -> J, T -> Q Cipher ...

Getting IllegalBlockSize when trying to encrypt too much data

Here are my constants //Encryption fields /** Algorithm=RSA Mode=ECB Padding=PKCS1Padding*/ public static final String ALGORITHM_MODE_PADDING = "RSA/ECB/PKCS1Padding"; /** Algorithm=RSA */ public static final String ALGORITHM = "RSA"; /** Provider=BouncyCastle */ public static final String PROVIDER = "BC"; /** Key size for the public an...

How can I get png image RGBcolors in delphi 2009

I have a cipher encoded as a color series in a png image the image is RGB-colored but the code is ciphered only in the green byte How can I get the RGB colors in this 1x84 pixel image? ...

What are the general ideas of decrypting a cipher?

I am trying to improve my skills in encryption and decryption, put there are too many ways to encryption, what ideas are common in this subject, are there any books that talk about that? thanks alot. ...

shorter php cipher than md5?

Hi, For a variety of stupid reasons, the maximum length of a given form variable that we are posting to an external server is 12 characters. I wanted to obscure that value with md5, but obviously with 12 characters that isn't going to work. Is there a cipher with an already-made PHP function which will result in something 12 character...

How would you make a simple cipher for an integer in rails?

I have an integer output from a private controller action that I would like to store 'encrypted' in my database. What methods would you use to codify this integer such that I can retrieve up to ~200 of these numbers easily and quickly to be served in a view to the right user? ...

AES Encript and Decript problem with Apache Base64

Hi, I have following programme for encrypts a data. import java.security.Key; import javax.crypto.Cipher; import javax.crypto.spec.SecretKeySpec; import org.apache.commons.codec.binary.Base64; public class Test { private static final String ALGORITHM = "AES"; private static final byte[] keyValue = "ADBSJHJS12547896".getBytes...

Symmetric and Asymmetric ciphers, non-repudiation?

Hello, I have read on wikipedia "However, symmetric ciphers also can be used for non-repudiation purposes by ISO 13888-2 standard." Then again and I read on another wiki page, "Non-repudiation, or more specifically non-repudiation of origin, is an important aspect of digital signatures. By this property an entity that has signed some i...

TDEA and CBC mode?

Hello, I am trying to get the hang of encryption diagrams and TDEA (Triple DES). I understand TDEA looks something like this: ciphertext = EK3(DK2(EK1(plaintext))) I also know a chain block cipher uses an IV to seed the encryption and the plain text before encrypting, and then the output is a block that is ciphered and the new IV is fo...