April 5, 2016 By Larry Loeb 2 min read

There’s been a security problem with point-of-sale (POS) terminals that has been recognized and dealt with by both the retail industry and the government. The problem exists because payment card information ends up stored in the physical card reader after swiping. Those credit card readers are legacy hardware, designed in the days before operational security became a priority.

It has taken 10 years to devise a security scheme that would solve this problem without hindering transactions. The solution needed could not change the length or format of credit card numbers, for example, because related programs expected to see a certain format and would break if fed another.

This formatting problem extends beyond credit cards, even though they are an obvious case. Health information may have post-processing format sensitivity. Other uses may also include financial information security, data sanitization and the transparent encryption of fields in legacy databases.

NIST to the Rescue

The National Institute of Standards and Technology (NIST) announced a solution that can remedy this issue. It provided two possible ways of format-preserving encryption (FPE), which protects strings of payment card information from cybercriminals with encryption but still allows it to be read and processed by partner software.

According to the NIST release, “The new FPE method works on both binary and conventional (decimal) numbers — in fact, sequences created from any ‘alphabet’ of symbols — and it produces a result with the same length as the original.”

The NIST paper also noted that FPE facilitates the use of encryption with sensitive information as well as the retrofitting of encryption technology to legacy applications where a conventional encryption mode might not be feasible. This could include database applications that do not support changes to the length or format of data fields.

The two FPE techniques, called FF1 and FF3, were vetted during public comment periods in 2009 and 2013. While the implementations vary in execution speed, both are modes of operation for an approved symmetric block cipher algorithm known as the 128-bit block Advanced Encryption Standard (AES).

Adding Tweaks for More Security

In addition to the reformatted data, each of the possible techniques takes an additional input called a tweak. The tweak can be regarded as a changeable part of the key because together they determine the encryption and decryption functions. It is possible to have a static tweak, but the use of variable tweaks is strongly recommended by NIST as a security enhancement.

Keeping the native format of encrypted data intact may be a necessity for success, especially in a legacy system. This newest standard from NIST does just that.

More from

NIST’s role in the global tech race against AI

4 min read - Last year, the United States Secretary of Commerce announced that the National Institute of Standards and Technology (NIST) has been put in charge of launching a new public working group on artificial intelligence (AI) that will build on the success of the NIST AI Risk Management Framework to address this rapidly advancing technology.However, recent budget cuts at NIST, along with a lack of strategy implementation, have called into question the agency’s ability to lead this critical effort. Ultimately, the success…

Researchers develop malicious AI ‘worm’ targeting generative AI systems

2 min read - Researchers have created a new, never-seen-before kind of malware they call the "Morris II" worm, which uses popular AI services to spread itself, infect new systems and steal data. The name references the original Morris computer worm that wreaked havoc on the internet in 1988.The worm demonstrates the potential dangers of AI security threats and creates a new urgency around securing AI models.New worm utilizes adversarial self-replicating promptThe researchers from Cornell Tech, the Israel Institute of Technology and Intuit, used what’s…

Passwords, passkeys and familiarity bias

5 min read - As passkey (passwordless authentication) adoption proceeds, misconceptions abound. There appears to be a widespread impression that passkeys may be more convenient and less secure than passwords. The reality is that they are both more secure and more convenient — possibly a first in cybersecurity.Most of us could be forgiven for not realizing passwordless authentication is more secure than passwords. Thinking back to the first couple of use cases I was exposed to — a phone operating system (OS) and a…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today