Resultat 1 till 10 av 10

Ämne: Ras-tool

  1. #1
    ch2001
    Gäst

    Ras-tool

    kan man ha någon nytta av RAS-TOOL? :wink:




    It's possible to factor integers +256 bits in size but please keep in mind
    that this can take a *lot* of memory and time ! Thus it's not recommended
    to try factoring bigger numbers on slow machines with a few MB of physical
    Memory. Don't even think of trying to factor 512 bit numbers for example..

    RSA-Tool 2 Features:
    - Secure keypair generation
    - Key test dialog
    - Support of multiple number bases
    - Auto base-conversion on select
    - Support of numbers up to 4096 Bits


    1. About RSA
    RSA is a Public Key Cryptosystem developed in 1977 by Ronald Rivest,
    Adi Shamir and Leonard Adleman.
    Since 09-20-2000 the U.S. Patent #4,405,829 on this Algorithm EXPIRED!
    That means that the Algorithm is Public Domain now and can be used by
    everyone for free, even in commercial software.

    2. Parameters
    P = 1st large prime number
    Q = 2nd large prime number (sizes of P and Q should not differ too much!)
    E = Public Exponent (a random number which must fulfil:
    GCD(E, (P-1)*(Q-1))==1)
    N = Public Modulus, the product of P and Q: N=P*Q
    D = Private Exponent: D=E^(-1) mod ((P-1)*(Q-1))

    Parameters N and E are public whereas D is -private- and must NEVER be
    published! P and Q are not longer needed after keygeneration and should be
    destroyed.

    To obtain D from the public key (N, E) one needs to try splitting N in its
    both prime factors P and Q. For a large Modulus N (512 bit and more) with
    carefully chosen primefactors P and Q this is a very difficult problem.

    All the security of the RSA encryption scheme relies on that integer
    factorization problem (tough there's no mathematical proof for it).



    3. Encryption
    To encrypt a messageblock (M) (which must be < N), compute:
    Ciphertext = C = M^E mod N.
    Note: If the entire message (M) is > N it must be split into smaller
    blocks with size < N

    4. Decryption
    To decrypt a given Ciphertext (C) to retrieve the Plaintext (M) as result,
    compute: M=C^D mod N.

    The ' ^ ' sign in the above equations means 'power of', not XOR !

    Note that the RSA scheme does also work the other way round:
    C=M^D mod N and M=C^E mod N. It's on you how you implement it. Just ALWAYS
    make SURE that you -NEVER- publish the private exponent D, P and/or Q !

    5. How to ...?
    ...Generate a RSA keypair ?
    1) Press the 'Start' Button to collect some (pseudo) random data by moving
    around your mousepointer.
    This must be done only one time, because the collected data will be
    saved in a file in your RSA-Tool folder.
    2) Select the number base you want to use for your keys. Base 10, 16, 60
    and 64 are available.
    3) Select the size of of the key (=size of N) you want to create. Max.
    keysize is 4096 bit.
    4) Choose your public exponent (E) and type it in the corresponding
    Editbox as DECIMAL number.
    Most common values (calculation-speed reasons) used for E are:
    3, 17, 257 and 65537 (decimal)
    5) Press the Generate button and wait until keygeneration has been
    finished.
    Note that generation of very large keys can take some time, depending
    on the power of your CPU.
    Important: You can press Generate as often as you like. The internal
    random number generation system, which is used in a part of the key
    generation process, will be re-initialized during runtime.
    This is done on purpose, as it makes it much harder to abuse this tool
    for certain things...Note that this also makes it almost *impossible*
    to create the same keypair twice or more.
    It can happen that your Modulus will become e.g. 159 Bits only, even
    when you selected 160 Bits as keysize. The reason is the little size
    difference between P and Q. If you are not satisfied, simply press the
    Generate button again until the desired keylength meets your needs :-)

    ...Factor a Number ?
    1) Select the correct number base for the number you want to factor.
    2) Type in or Paste the number in the Editbox for the Modulus (N). This
    enables the 'Factor' button.
    3) Press the Factor N button. Note that factoring numbers > 240 Bits can
    take a LOT of time and memory !
    Even smaller ones can take several hours. If you dont believe me try to
    factor a 240 Bit N generated by this tool...
    If the multiple polynomial quadratic sieve (MPQS) Algorithm is used to
    factor your number, a huge amount of memory is needed.
    Reason for this is the design of the algorithm, not a bad coding style.


    Examples: Memory usage for factoring a given N (using the MPQS
    Algorithm) with size...
    256 Bits : ~89 MB, 280 Bits : ~140 MB, 296 Bits : ~185 MB and so
    on.

    ...Calculate the private exponent D from prime factors P and Q ?
    1) Select correct number base for parameters P and Q
    2) Type in or paste P and Q in the corresponding Text fields.
    3) Press the 'Calc. D' button.

    ...Obtain the -exact- bitsize of a number ?
    1) Select the correct number base for the value you want to check.
    2) Type in or Paste the number in the Textbox for the Modulus (N).
    3) Press the small 'Bits' button. This will show you the -exact- amount of
    used bits in the number.

  2. #2
    Nej, det här kan man ju bara använda för brute force, om jag förstått det rätt. Det tar för lång tid.

  3. #3
    ch2001
    Gäst
    MEN vi använder den till seca 2 också :wink:

  4. #4
    Vad menar du med "använder"? Exakt HUR använder ni den? (Och vilka är "ni"?)

  5. #5
    ch2001
    Gäst
    vi använder den till Encrypt och decrypt :wink:

  6. #6
    Vaddå "encrypt och decrypt"? Kryptera och dekryptera vaddå? Hur? Det här är ju RSA, en matematisk algoritm som används långt inne i diverse krypteringssystem för DVB (möjligen bland annat Seca 2). Lägger du programmet på en diskett som du sedan tejpar fast på boxen eller?

    Det går att skriva inlägg som är längre än en mening. Fördelen med att göra det är att man ibland blir förstådd, ch2001.

  7. #7
    ch2001
    Gäst
    du tänkar på Kryptera och dekryptera i RSA:wink:

    men jag menar inte i RSA

  8. #8
    Nej, jag fattar inte något mera. Det är det ingen annan som gör heller. Du måste uttrycka dig klarare.

  9. #9
    ch2001
    Gäst
    jag menade att vi använder själva progg för Encrypt och Decrypt :wink:

    och den har ingting med Ras göra

  10. #10
    rsacas5
    Gäst
    Jo det är väl klart, vad jag vet så finns det inget program för Encrypt Megapic´s program Dekrypterar väl endast om man har en MK sas. Kanske finns det program för att kryptera ecm/emm jag vet ej. Men i praktiken vad har man för nytta av det jo möjligen genom att göra ett (subupdate) script public eller nått då kan det vara av nytta men vem skulle göra det på en MK hohohoho.
    Användnings områda:För att lära sig mer kanske.

Liknande ämnen

  1. conax tool?
    Av taido i forum Canal Digital
    Svar: 4
    Senaste inlägg: 2004-04-03, 18:55
  2. cnx-tool problem
    Av ynot i forum Canal Digital
    Svar: 9
    Senaste inlägg: 2004-02-16, 16:56
  3. Conax Tool
    Av proxento i forum Canal Digital
    Svar: 1
    Senaste inlägg: 2004-02-12, 21:28
  4. [LÖST] CnX tool?
    Av besam i forum Canal Digital
    Svar: 5
    Senaste inlägg: 2004-02-07, 22:23

Taggar för det här ämnet

Behörigheter för att posta

  • Du får inte posta nya ämnen
  • Du får inte posta svar
  • Du får inte posta bifogade filer
  • Du får inte redigera dina inlägg
  •  
stöd oss
ComHit.net är en ideell sidan som drivs helt utan reklamintäkter, detta för att du som användare ska slippa all störande reklam och diskutera de saker du är intresserad av.
Skulle man däremot känna att man vill donera en slant för att hjälpa ComHit.net att bli bättre är ni välkomna att donera via länken nedan.

https://www.paypal.me/comhit/
Följ oss