a mechanism is provided for secure pin management of a user trusted device . a user trusted device detects a memory card coupled to the user trusted device . the user trusted device receives user input of an external pin . the user trusted device identifies a key associated with the external pin , wherein the key is stored in the persistent memory . the user trusted device computes a card pin using a function and the key as stored on the persistent memory , wherein the card pin is computed using the following equation : card_pin = f . the user trusted device unlocks the memory card using the card pin , thereby forming an unlocked memory card .