Einzelnen Beitrag anzeigen

EugenB

Registriert seit: 7. Dez 2006
98 Beiträge
 
Lazarus
 
#4

Re: RSA Public/Private Key

  Alt 25. Nov 2008, 12:32
Soo, vielen dank fuer die RFC Nummer

Zitat:
version 4 packet contains:

- A one-octet version number (4).

- A four-octet number denoting the time that the key was created.

- A one-octet number denoting the public key algorithm of this key

- A series of multi-precision integers comprising the key
material. This algorithm-specific portion is:

Algorithm Specific Fields for RSA public keys:

- multiprecision integer (MPI) of RSA public modulus n;

- MPI of RSA public encryption exponent e.
Alles klar die benötigen mehrere Oktetts nun soll man dann einfach die Oktetts nacheinander schreiben also so?:
0000000000010100

oder muss man diese voneinander mit einem extra bit trennen?

Zitat:
A four-octet number denoting the time that the key was created.
Wie sieht diese Zeit aus? als Unix-Timestamp?

Zitat:
A one-octet number denoting the public key algorithm of this key
Welche nummer ist fuer RSA?

Zitat:
A series of multi-precision integers comprising the key
material. This algorithm-specific portion is:

Algorithm Specific Fields for RSA public keys:

- multiprecision integer (MPI) of RSA public modulus n;

- MPI of RSA public encryption exponent e.
Wie schreibe die beiden zahlen rein, woher weiß ich dann wann n endet und e anfängt?

Alles klar Radix64 ist also Base64 mit Zeilenumbruch.

Man spricht immer von 512/1024/2048-Bit Schlüssel wie bekomme ich raus wieviel Bit meiner ist? an der länge der zusammengesetzten Oktetts? oder nur an den beiden n,e ?

Naja immerhin schon etwas weiter

MfG,
Eugen
  Mit Zitat antworten Zitat