concept algorithm in category system administration

appears as: n algorithm, lgorithms, algorithm, The algorithm, algorithms, The algorithms, lgorithm
SOA Security

This is an excerpt from Manning's book SOA Security.

To fulfill this responsibility, applications need to possess a master copy of the evidence legitimate users are going to present. For example, in order to verify a username/password (or a retina scan), an application needs to know all the correct username/password combinations (or what retina images of all legitimate users look like) up front. Or, if users are using an RSA token, the application needs to know an algorithm that can verify whether the number presented by the user matches the number that is displayed on the user’s RSA token at the time of authentication.

One of the earliest known encryption algorithms is Caesar shift. It shifts each letter by certain positions to create the cipher text. For example, with a shift of 1, “a” becomes “b” and “b” becomes “c.” If the sender encrypts a message using such a shift, the receiver can decrypt by applying the reverse shift to the received cipher data. The shift amount is a required parameter, or the key to the encryption and decryption functions.

You can instantiate the XMLCipher class using the getInstance factory method . This method takes as an argument the algorithm you intend to use for encryption. The algorithm must be in the form of a URI. For all the available URIs, you can refer to the class org.xml.security.utils.EncryptionConstants.