Copyright 2014 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.

NEW YORK (CNNMoney) -- Target confirmed Friday that debit card PIN data was stolen in its recent massive breach, reversing its earlier stance that the codes were not part of the hack.

However, the retailer believes the PINs remain "safe and secure." In a statement, Target spokeswoman Molly Snyder said the PINs are "strongly encrypted" and were never stored on Target's systems in plain text.

In other words, from the moment a customer entered a PIN after swiping a debit card, Target's payment system translated that number into an indecipherable string of code. Target claims that the PINs remained encrypted after they were stolen.

Not only are the PINs encrypted, Target says the numbers can only be decrypted by the independent payment processor, which holds the decryption key. That key is necessary to translate the unintelligible code back into the PIN. Target said the key was not stolen as part of the breach, because it never existed within the company's systems.

That means it is very unlikely that thieves would be able to withdraw money from ATMs using stolen debit card information. Consumers are protected from certain instances of debit card fraud, but cash withdrawals and purchases made with a PIN can be tricky to reverse.

As a precaution, Target customers who shopped at Target when the breach occurred should contact their banks to request a replacement card and change their PIN.

The PIN theft revelation means that Target's payment systems breach was larger than initially thought. That is common in credit card breaches. When Marshalls' and TJ Maxx's parent company TJX was hit with a massive breach in 2009, the company initially said 45 million accounts were hacked but upped that number to 94 million weeks later.

Target says that its breach, which took place between Black Friday and Dec. 15, compromised 40 million customers' payment information.