Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a25042ec8ce2b23b

Jump to content

// Workers AI · dad joke modeWhy did format-transforming encryption go to therapy? It had a lot to decrypt.

From Wikipedia, the free encyclopedia

In cryptography, format-transforming encryption (FTE) refers to encryption where the format of the input plaintext and output ciphertext are configurable. Descriptions of formats can vary, but are typically compact set descriptors, such as a regular expression.[1]

Format-transforming encryption is closely related to, and a generalization of, format-preserving encryption.

Applications of FTE

[edit source]

Restricted fields or formats

[edit source]

Similar to format-preserving encryption, FTE can be used to control the format of ciphertexts. The canonical example is a credit card number, such as 1234567812345670 (16 bytes long, digits only). However, FTE does not enforce that the input format must be the same as the output format.

Censorship circumvention

[edit source]

FTE is used by the Tor Project to circumvent deep packet inspection by pretending to be other protocols.[2] The implementation is fteproxy; it was written by the authors who came up with the FTE concept.[3]

References

[edit source]
  1. Kevin P. Dyer; Scott E. Coull; Thomas Ristenpart; Thomas Shrimpton (November 2013). "Protocol misidentification made easy with format-transforming encryption" (PDF). Proceedings of the 2013 ACM SIGSAC conference on Computer & communications security - CCS '13. pp. 61–72. doi:10.1145/2508859.2516657. ISBN 9781450324779. S2CID 526039.
  2. "Tor Project: Pluggable Transports". torproject.org. Retrieved 2016-08-05.
  3. Dyer, Kevin P. (27 February 2020). "kpdyer/fteproxy". GitHub.