Re: usb token

From: Juha Laiho (Juha.Laiho@iki.fi)
Date: 04/14/03

  • Next message: AxlsPixel: "Re: Article on WebDAV Vulnerability (MS03-007)"
    From: Juha Laiho <Juha.Laiho@iki.fi>
    Date: Mon, 14 Apr 2003 17:52:01 GMT
    
    

    zhongmeiyi@yahoo.com.sg (megan) said:
    >>From what I understand, a digital signature is an encryption of the
    >hash (of the data that's to be signed). Is the data sent to the token
    >where it is hashed and encrypted? Or is the data hashed by some other
    >CSP (perhaps Microsoft Base CSP) and then sent to the token where it
    >is encrypted? If it is the former, is it possible if the data to be
    >signed as really huge?

    Haven't been thinking it this far, but yes, it does make sense that the
    hashing is done outside the token and only the hash is sent into the
    token and the token returns the signature for the hash. But then, hashing
    is, to the best of my knowledge, a single-pass operation, so when
    calculating a hash you can drop the data blocks you've already used for
    the calculation, so it could be done with relatively small amount of RAM.

    -- 
    Wolf  a.k.a.  Juha Laiho     Espoo, Finland
    (GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
             PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
    "...cancel my subscription to the resurrection!" (Jim Morrison)
    

  • Next message: AxlsPixel: "Re: Article on WebDAV Vulnerability (MS03-007)"

    Relevant Pages

    • Re: private key encryption - doubts
      ... > Alice creates a one-way hash and encrypt it with her private key ... So Bob now knows the private key of Alice. ... > I need to know what exactly is a digital signature. ... same symmetric key for both encryption and decryption). ...
      (comp.security.ssh)
    • RE: Signing before Encryption and Signing after Encryption
      ... The property that a hash match is supposed to verify (is this ... Signing before Encryption and Signing after Encryption ... Signing with symmetric keys is a lot more ...
      (Security-Basics)
    • Re: Newbie - Is this Reasonable?
      ... because this hash is stored in the database. ... So you use PKCS5v2 to generate a key hash from a salt and the user's passphrase, then store the salt and the hash in a database. ... are even more critical in database applications because the payoff from tampering with selected fields may be much higher, fields tend to be fixed-length so it's easier to tamper with them in a meaningful way, and databases lend themselves to off-line analysis, so the attacker can marshall more resources and take more time to attack your system. ... You're using a stream cipher for encryption. ...
      (sci.crypt)
    • Re: Signing before Encryption and Signing after Encryption
      ... Hash: SHA1 ... Encryption and Signing after Encryption ... are signature schemes that only require symmetric keys. ...
      (Security-Basics)
    • Re: Backup of encrypted Data in the Cloud
      ... Unix timestamp at encryption time and the secure hash of the plaintext ... that there is none.If it is secure, then using the timestamp is overkill. ... Thus I need a second value apart from the plaintext hash, here the timestamp at encryption time fit in quite well. ...
      (sci.crypt)