STREAMSEC TOOLS 4.X
StreamSec Tools 4.x is our current cryptographic library for Embarcadero Delphi TM, supported on Delphi XE3 and later (some features require Delphi XE6 or higher). From a single, clean-room Object Pascal code base it targets Win32, Win64, macOS, Android, iOS and Linux, with no required dependency on OpenSSL or the Windows CryptoAPI. Optional support for CryptoAPI and for OpenSSL file formats is included where customers have asked for interoperability.
StreamSec Tools 4.x is included in all subscriptions and support agreements. Order a license, download an evaluation, or contact sales for more information.
New in 4.1.5: HTTP/3. The library now carries its own implementation of QUIC (RFC 9000) — packet protection, loss recovery, congestion control, pacing, connection migration and ECN, built on the same TLS 1.3 code as the rest of the library — and runs HTTP/3 (RFC 9114) over it, as a server and as a client. A new asynchronous QUIC server hosts HTTP/3 on the same request router as HTTP/1.1 and HTTP/2, so a handler written for those answers HTTP/3 unchanged, and the HTTPS client finds and uses a server's HTTP/3 endpoint through Alt-Svc when you enable it. The SNIF remoting framework runs over QUIC as well, and SSH adds the sntrup761x25519 post-quantum hybrid key exchange (RFC 9941) that OpenSSH also offers.
New in 4.1.4: every default the library chooses on your behalf is now the secure one. A PKCS#12 export protects both the private key and the certificates with PBES2 — PBKDF2 over HMAC-SHA-256 at 131072 iterations, AES-256-CBC — where it used to fall back on schemes from the 1990s; TLS 1.2 drops finite-field Diffie-Hellman, DSA and the MD5, SHA-1 and SHA-224 handshake signature hashes; certificates, CRLs, OCSP responses and CMS are signed with SHA-256; and verification refuses a signature made over MD2, MD5 or SHA-1 altogether. Each change is reversible where an old peer requires it, and the first entry of the change log says how. Note that settings stored on a form keep the value they were saved with — re-check those after upgrading. PRODUCTINFO.txt, included in the download, states every default and what is left for you to decide.
New in 4.1.4: a client can now read one record out of a server's table without the server learning which record it read. StreamSec Tools implements the SimplePIR and DoublePIR private-information-retrieval schemes over learning-with-errors, with a scan kernel whose per-lookup work is the same instructions over the same octets whatever was asked for, so the privacy rests on the shape of the computation rather than on secrecy about it. The same release adds a QR code encoder, decoder and picture detector to ISO/IEC 18004, framework-free apart from two thin adapters, which reads what a phone writes and writes what a phone reads.
New in 4.1.3: a certification authority key can now stay on a hardware token. A PKCS#11 key storage component resolves keys from any Cryptoki 2.40 device the way the library resolves them from a PFX, so certificate, CSR, CRL and OCSP signing work unchanged while the private key is generated on the device, marked non-extractable, and never enters your process. RSA and ECDSA both, with the device's own mechanism list queried at open rather than assumed.
New in 4.1.2: the library now implements the high-level application protocols itself. For two decades StreamSec Tools supplied the TLS layer inside third-party network stacks; it now ships a complete HTTPS server and client — hosting HTTP/1.1 and HTTP/2 together on one server — and a full mail suite (SMTP, POP3 and IMAP, each as client and server), all designed around its own TLS rather than patched onto someone else's cleartext code. For applications built on the RealThinClient (RTC) SDK, StreamSec Tools is now a complete replacement for that server stack.
PROTOCOLS AND CAPABILITIES
- TLS 1.3 and 1.2 — interoperable client and server, mutual TLS, OCSP stapling, ALPN, session resumption and post-quantum key exchange.
- HTTPS — asynchronous TLS and QUIC servers hosting HTTP/1.1, HTTP/2 and HTTP/3 on one shared router, HTTPS client with HTTP/3 support, REST client and server, and ACME certificate renewal.
- Mail — SMTP, POP3 and IMAP clients and servers, maildir storage, S/MIME, and DKIM / SPF / DMARC / MTA-STS message authentication.
- ACME certificate automation — unattended certificate issuance and renewal for your TLS servers, with all three challenge types, wildcards and renewal scheduling.
- SSH — SSH-2 client and server with modern key exchange, ciphers and host keys, public-key and password authentication, and TCP/IP port forwarding.
- SFTP — SSH File Transfer client and server (protocol versions 3 and 5), interoperable with OpenSSH, WinSCP, PuTTY and paramiko.
- Private information retrieval — single-server SimplePIR and DoublePIR, so a lookup can be answered without learning what was looked up.
- QR codes — encoder, decoder and a detector that finds a symbol in a photograph, to ISO/IEC 18004.
- Certificates, PKIX and CMS — X.509 generation and path validation, CRL and OCSP, PKCS#12 / PKCS#8 / PKCS#7 and S/MIME, and PKCS#11 hardware tokens for keys that never leave the device.
INCLUDED CIPHERS
- AES — all supported compilers, assembler where supported
- DES/TripleDES — all supported compilers, assembler where supported
- BlowFish — all supported compilers, assembler where supported
- ARC4 (deprecated) — all supported compilers, assembler where supported
- TwoFish — Win32/Win64/OSX, assembler
- SHACAL-2 — Win32/Win64/OSX, assembler
- SEED — all supported compilers, Pure Pascal only
- RC2 (deprecated) — all supported compilers, Pure Pascal only
- Camellia — all supported compilers, Pure Pascal only
- ChaCha20-Poly1305 (AEAD) — all supported compilers
- AES-HCTR2 (length-preserving, tweakable wide-block encryption) — all supported compilers
INCLUDED HASHES
- SHA-3 and SHAKE — all supported compilers, Win64 assembler
- SHA-2 — all supported compilers, assembler where supported
- SHA-1 (deprecated) — all supported compilers, assembler where supported
- MD5 (deprecated) — all supported compilers, assembler where supported
- MD2 (deprecated) — all supported compilers, Pure Pascal only
- Whirlpool — all supported compilers, mainly Pure Pascal
- RipeMD160 — Win32/Win64/OSX, assembler
- Blake2 (primarily for Argon2)
INCLUDED PUBLIC KEY CRYPTOGRAPHY
- RSA-PKCS#1 v1.5 — all supported compilers, large-integer assembler where supported
- RSA-OAEP, RSA-SSA-PSS — all supported compilers, large-integer assembler where supported
- DSA, DH — all supported compilers, large-integer assembler where supported
- ECDSA, ECDH (standard prime curves, x25519, x448, Ed25519, Ed448) — Delphi XE3 and up, all supported targets
- ML-DSA and ML-KEM, including composite variants
- SLH-DSA
INCLUDED POST-QUANTUM CRYPTOGRAPHY
- FIPS-203 Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM)
- FIPS-204 Module-Lattice-Based Digital Signature Algorithm (ML-DSA)
- FIPS-205 Stateless Hash-Based Digital Signature Standard (SLH-DSA)
- Shamir Secret Sharing — all supported compilers, large-integer assembler where supported
- Winternitz One-Time Signature scheme — all supported compilers
- Generalized Merkle Signature scheme — all supported compilers
INCLUDED RANDOM GENERATORS
- DRBG-AES-CTR — all supported compilers
- Yarrow — Win32/Win64/OSX
INCLUDED PROTOCOLS, SCHEMES AND FORMATS
- TLS 1.0, 1.1, 1.2 and 1.3
- HTTP/1.1, HTTP/2 and HTTP/3 — HTTPS server and client, REST components
- QUIC (RFC 9000) — native client and asynchronous server, with Retry address validation, connection migration, ECN and opt-in 0-RTT
- ACME (RFC 8555) — automated certificate issuance and unattended renewal, ARI (RFC 9773)
- SMTP, POP3 and IMAP — clients and servers, maildir storage, DKIM, SPF, DMARC and MTA-STS
- SSH-2 — client and server, port forwarding, subsystem framework
- SFTP — SSH File Transfer client and server, protocol versions 3 and 5
- SNIF/SNIP secure network interface framework — requires Delphi XE3 or Delphi XE6 or later
- PKIX certificate generation and verification
- SimplePIR and DoublePIR — single-server private information retrieval
- QR codes (ISO/IEC 18004) — encoder, decoder and picture detector
- OCSP client and responder, both full and lightweight (RFC 5019)
- PKCS#12 (PFX), PKCS#7 (CMS) and S/MIME message formats
- PEM certificate, private key and message formats
- DER encoder and parser, BER parser
- PKCS#1, PKCS#8, CAPI and XML private/public key formats