Douglas,<br><br>Many applications using RSA make use of a private key
in its ASN.1 BER form. In this format, the surrounding encoding of a
private key becomes very easily recognizable. <br><br>The follow is an excerpt from RFC3447 (PKCS#1)<br><br>
<div style="margin-left: 40px; font-family: courier new,monospace;">-- Representation of RSA private key with information for the CRT<br>
-- algorithm.<br>
--<br>
RSAPrivateKey ::= SEQUENCE {<br>
    version           Version,<br>
    modulus           INTEGER,  -- n<br>
    publicExponent    INTEGER,  -- e<br>
    privateExponent   INTEGER,  -- d<br>
    prime1            INTEGER,  -- p<br>
    prime2            INTEGER,  -- q<br>
    exponent1         INTEGER,  -- d mod (p-1)<br>
    exponent2         INTEGER,  -- d mod (q-1)<br>
    coefficient       INTEGER,  -- (inverse of q) mod p<br>
    otherPrimeInfos   OtherPrimeInfos OPTIONAL<br>
}<br>
<br>
Version ::= INTEGER { two-prime(0), multi(1) }<br>
    (CONSTRAINED BY {<br>
        -- version must be multi if otherPrimeInfos present --<br>
    })<br>
<br>
OtherPrimeInfos ::= SEQUENCE SIZE(1..MAX) OF OtherPrimeInfo<br>
<br>
OtherPrimeInfo ::= SEQUENCE {<br>
    prime             INTEGER,  -- ri<br>
    exponent          INTEGER,  -- di<br>
    coefficient       INTEGER   -- ti<br>
}<br>
</div>
<br>
In ASN.1 BER each integer, a sequence, a version, etc. all have well
defined form of octet (bytes) which represent both the type of object,
its size, as well as its value.<br><br>On 9/4/06, Douglas F. Calvert <<a href="mailto:douglasfcalvert@gmail.com">douglasfcalvert@gmail.com</a>> wrote:<br>> Hello,<br>>  I remember seeing a paper about identifying private keys in RAM. I
<br>> thought it was by Rivest but I can not locate it for the life of me.<br>> Does anyone remember reading something like this? The basic operation<br>> was to identify areas in RAM that had certain characteristics such as
<br>> random bits and identifiable key headers...<br>> Any help would be greatly appreciated...<br>> <br>> <br>> --<br>> --dfc<br>> <a href="mailto:douglasfcalvert@gmail.com">douglasfcalvert@gmail.com
</a><br>> <br>> ---------------------------------------------------------------------<br>> The Cryptography Mailing List<br>> Unsubscribe by sending "unsubscribe cryptography" to <a href="mailto:majordomo@metzdowd.com">
majordomo@metzdowd.com</a><br>> <br><br>Best regards,<br>-- <br>Mike