• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

DPAPI & .NET

Collapse
X
  •  
  • Filter
  • Time
  • Show
Clear All
new posts

    DPAPI & .NET

    anyone used this to retrieve a key from the registry? i have a DPAPI encrypted key in the registry but when i try to retrieve it as a byte array for the IV for 3DES i get a length error...going grey and hairless

    #2
    What's the exact error message? I had some problems in .NET with triple DES too and vaguely remember something like this happening.

    Comment


      #3
      Specified initialization vector (IV) does not match the block size for this algorithm

      Comment


        #4
        but key size is 16bytes and iv size is 8 bytes

        Comment


          #5
          if i don't encrypt the iv, it works, if i encrypt, it falls over. yet i successfully rebuild the iv from decrypt!!

          Comment


            #6
            got it...anybody know a good wig shop!

            Comment


              #7
              oops sorry I forgot about this thread, I think I had it before too, looks like you figured it out as well

              Comment

              Working...
              X