René's URL Explorer Experiment


Title: GitHub - veorq/cryptocoding: Guidelines for low-level cryptography software · GitHub

Open Graph Title: GitHub - veorq/cryptocoding: Guidelines for low-level cryptography software

X Title: GitHub - veorq/cryptocoding: Guidelines for low-level cryptography software

Description: Guidelines for low-level cryptography software. Contribute to veorq/cryptocoding development by creating an account on GitHub.

Open Graph Description: Guidelines for low-level cryptography software. Contribute to veorq/cryptocoding development by creating an account on GitHub.

X Description: Guidelines for low-level cryptography software. Contribute to veorq/cryptocoding development by creating an account on GitHub.

Opengraph URL: https://github.com/veorq/cryptocoding

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:851ecf8b-000e-51ec-030f-e21de2cf525f
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id92AE:144939:202658:2BC348:6AFBFF7C
html-safe-nonce3bdf737b40210bdc9ccd4f045d0bab312929c588eb3af007ee842ffafe114070
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkFFOjE0NDkzOToyMDI2NTg6MkJDMzQ4OjZBRkJGRjdDIiwidmlzaXRvcl9pZCI6Ijc3NzcxMjcyMjQzMjYyMjU3ODgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3fd4ac84baa42ea19687a686242f8e77af202fa59f5aab4d721f7ed2654f6881
hovercard-subject-tagrepository:177790629
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/veorq/cryptocoding
twitter:imagehttps://opengraph.githubassets.com/0c84dc0a938e295e68a35083ec10c04c9c9372c21e87d8ac3189f4ddb576d693/veorq/cryptocoding
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0c84dc0a938e295e68a35083ec10c04c9c9372c21e87d8ac3189f4ddb576d693/veorq/cryptocoding
og:image:altGuidelines for low-level cryptography software. Contribute to veorq/cryptocoding development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Nonefa74413a1d84dac536fcca0740780bcbd3207bafec0e51873b73ff8e8cca032f
turbo-cache-controlno-cache
go-importgithub.com/veorq/cryptocoding git https://github.com/veorq/cryptocoding.git
octolytics-dimension-user_id3204810
octolytics-dimension-user_loginveorq
octolytics-dimension-repository_id177790629
octolytics-dimension-repository_nwoveorq/cryptocoding
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id177790629
octolytics-dimension-repository_network_root_nwoveorq/cryptocoding
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseb3b5633a74535d9c23385512d534c66c8fde1907
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/veorq/cryptocoding#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fveorq%2Fcryptocoding
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fveorq%2Fcryptocoding
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=veorq%2Fcryptocoding
Reloadhttps://github.com/veorq/cryptocoding
Reloadhttps://github.com/veorq/cryptocoding
Reloadhttps://github.com/veorq/cryptocoding
veorqhttps://github.com/veorq
cryptocodinghttps://github.com/veorq/cryptocoding
Codehttps://github.com/veorq/cryptocoding
Issues8 (8)https://github.com/veorq/cryptocoding/issues
Pull requests2 (2)https://github.com/veorq/cryptocoding/pulls
Actionshttps://github.com/veorq/cryptocoding/actions
Projectshttps://github.com/veorq/cryptocoding/projects
Security and qualityhttps://github.com/veorq/cryptocoding/security
Insightshttps://github.com/veorq/cryptocoding/pulse
https://github.com/veorq/cryptocoding
cryptocodinghttps://github.com/veorq/cryptocoding
Notificationshttps://github.com/login?return_to=%2Fveorq%2Fcryptocoding
Fork93 (93)https://github.com/login?return_to=%2Fveorq%2Fcryptocoding
Star1.2k (1.2k)https://github.com/login?return_to=%2Fveorq%2Fcryptocoding
Readmehttps://github.com/veorq/cryptocoding#readme-ov-file
Activityhttps://github.com/veorq/cryptocoding/activity
93 forkshttps://github.com/veorq/cryptocoding/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fveorq%2Fcryptocoding&report=veorq+%28user%29
Brancheshttps://github.com/veorq/cryptocoding/branches
Tagshttps://github.com/veorq/cryptocoding/tags
https://github.com/veorq/cryptocoding/branches
https://github.com/veorq/cryptocoding/tags
40 Commitshttps://github.com/veorq/cryptocoding/commits/master/
https://github.com/veorq/cryptocoding/commits/master/
README.mdhttps://github.com/veorq/cryptocoding/blob/master/README.md
README.mdhttps://github.com/veorq/cryptocoding/blob/master/README.md
READMEhttps://github.com/veorq/cryptocoding
https://github.com/veorq/cryptocoding#cryptocoding
https://github.com/veorq/cryptocoding#table-of-contents
Cryptocodinghttps://github.com/veorq/cryptocoding#cryptocoding
Compare secret strings in constant timehttps://github.com/veorq/cryptocoding#compare-secret-strings-in-constant-time
Problemhttps://github.com/veorq/cryptocoding#problem
Solutionhttps://github.com/veorq/cryptocoding#solution
Avoid branchings controlled by secret datahttps://github.com/veorq/cryptocoding#avoid-branchings-controlled-by-secret-data
Problemhttps://github.com/veorq/cryptocoding#problem-1
Solutionhttps://github.com/veorq/cryptocoding#solution-1
Avoid table look-ups indexed by secret datahttps://github.com/veorq/cryptocoding#avoid-table-look-ups-indexed-by-secret-data
Problemhttps://github.com/veorq/cryptocoding#problem-2
Solutionhttps://github.com/veorq/cryptocoding#solution-2
Avoid secret-dependent loop boundshttps://github.com/veorq/cryptocoding#avoid-secret-dependent-loop-bounds
Problemhttps://github.com/veorq/cryptocoding#problem-3
Solutionhttps://github.com/veorq/cryptocoding#solution-3
Prevent compiler interference with security-critical operationshttps://github.com/veorq/cryptocoding#prevent-compiler-interference-with-security-critical-operations
Problemhttps://github.com/veorq/cryptocoding#problem-4
Solutionhttps://github.com/veorq/cryptocoding#solution-4
Prevent confusion between secure and insecure APIshttps://github.com/veorq/cryptocoding#prevent-confusion-between-secure-and-insecure-apis
Problemhttps://github.com/veorq/cryptocoding#problem-5
Bad Solutionshttps://github.com/veorq/cryptocoding#bad-solutions
Solutionhttps://github.com/veorq/cryptocoding#solution-5
Avoid mixing security and abstraction levels of cryptographic primitives in the same API layerhttps://github.com/veorq/cryptocoding#avoid-mixing-security-and-abstraction-levels-of-cryptographic-primitives-in-the-same-api-layer
Problemhttps://github.com/veorq/cryptocoding#problem-6
Solutionhttps://github.com/veorq/cryptocoding#solution-6
Provide high-level APIshttps://github.com/veorq/cryptocoding#provide-high-level-apis
When possible, avoid low-level APIshttps://github.com/veorq/cryptocoding#when-possible-avoid-low-level-apis
Clearly distinguish high-level APIs and low-level APIshttps://github.com/veorq/cryptocoding#clearly-distinguish-high-level-apis-and-low-level-apis
Use unsigned bytes to represent binary datahttps://github.com/veorq/cryptocoding#use-unsigned-bytes-to-represent-binary-data
Problemhttps://github.com/veorq/cryptocoding#problem-7
Solutionhttps://github.com/veorq/cryptocoding#solution-7
Clean memory of secret datahttps://github.com/veorq/cryptocoding#clean-memory-of-secret-data
Problemhttps://github.com/veorq/cryptocoding#problem-8
Solutionhttps://github.com/veorq/cryptocoding#solution-8
Use strong randomnesshttps://github.com/veorq/cryptocoding#use-strong-randomness
Problemhttps://github.com/veorq/cryptocoding#problem-9
Bad solutionshttps://github.com/veorq/cryptocoding#bad-solutions-1
Solutionhttps://github.com/veorq/cryptocoding#solution-9
Always typecast shifted valueshttps://github.com/veorq/cryptocoding#always-typecast-shifted-values
Problemhttps://github.com/veorq/cryptocoding#problem-10
Solutionhttps://github.com/veorq/cryptocoding#solution-10
https://github.com/veorq/cryptocoding#compare-secret-strings-in-constant-time
https://github.com/veorq/cryptocoding#problem
thishttp://rdist.root.org/2009/05/28/timing-attack-in-google-keyczar-library/
this vulnerabilityhttp://codahale.com/a-lesson-in-timing-attacks/
Keyczar crypto libraryhttps://code.google.com/p/keyczar/
OpenBSD libchttps://cvsweb.openbsd.org/cgi-bin/cvsweb/src/lib/libc/string/memcmp.c?rev=1.6&content-type=text/x-cvsweb-markup
https://github.com/veorq/cryptocoding#solution
NaClhttps://nacl.cr.yp.to/verify.html
by @sneveshttps://gist.github.com/sneves/10845247
as-if rulehttp://en.cppreference.com/w/cpp/language/as_if
Rusthttps://github.com/klutzy/nadeko#why
Curve25519 built with MSCV 2015https://infoscience.epfl.ch/record/223794/files/32_1.pdf
https://github.com/veorq/cryptocoding#avoid-branchings-controlled-by-secret-data
https://github.com/veorq/cryptocoding#problem-1
timing attack on square-and-multiplyhttp://users.belgacom.net/dhem/papers/CG1998_1.pdf
https://github.com/veorq/cryptocoding#solution-1
CMOVhttp://www.jaist.ac.jp/iscenter-new/mpc/altix/altixdata/opt/intel/vtune/doc/users_guide/mergedProjects/analyzer_ec/mergedProjects/reference_olh/mergedProjects/instructions/instruct32_hh/vc35.htm
https://github.com/veorq/cryptocoding#avoid-table-look-ups-indexed-by-secret-data
https://github.com/veorq/cryptocoding#problem-2
https://github.com/veorq/cryptocoding#solution-2
NaCl'shttp://nacl.cr.yp.to/
implementationhttp://eprint.iacr.org/2009/129.pdf
Serpenthttps://www.ii.uib.no/~osvik/serpent/
possiblehttp://crypto.stackexchange.com/questions/55/known-methods-for-constant-time-table-free-aes-implementation-using-standard/92#92
https://github.com/veorq/cryptocoding#avoid-secret-dependent-loop-bounds
https://github.com/veorq/cryptocoding#problem-3
steal the private keyhttps://eprint.iacr.org/2011/232.pdf
https://github.com/veorq/cryptocoding#solution-3
Heartbleed bughttp://heartbleed.com/
https://github.com/veorq/cryptocoding#prevent-compiler-interference-with-security-critical-operations
https://github.com/veorq/cryptocoding#problem-4
Torhttps://www.torproject.org/
secret datahttp://www.viva64.com/en/b/0178/
https://github.com/veorq/cryptocoding#solution-4
libotteryhttps://github.com/nmathewson/libottery/
may not be sufficienthttps://www.daemonology.net/blog/2014-09-05-erratum.html
https://github.com/veorq/cryptocoding#prevent-confusion-between-secure-and-insecure-apis
https://github.com/veorq/cryptocoding#problem-5
https://github.com/veorq/cryptocoding#bad-solutions
https://github.com/veorq/cryptocoding#solution-5
https://github.com/veorq/cryptocoding#avoid-mixing-security-and-abstraction-levels-of-cryptographic-primitives-in-the-same-api-layer
https://github.com/veorq/cryptocoding#problem-6
https://github.com/veorq/cryptocoding#solution-6
https://github.com/veorq/cryptocoding#provide-high-level-apis
https://github.com/veorq/cryptocoding#when-possible-avoid-low-level-apis
https://github.com/veorq/cryptocoding#clearly-distinguish-high-level-apis-and-low-level-apis
https://github.com/veorq/cryptocoding#use-unsigned-bytes-to-represent-binary-data
https://github.com/veorq/cryptocoding#problem-7
https://github.com/veorq/cryptocoding#solution-7
https://github.com/veorq/cryptocoding#clean-memory-of-secret-data
https://github.com/veorq/cryptocoding#problem-8
core dump filehttps://wiki.archlinux.org/title/Core_dump
bug in the process itselfhttps://en.wikipedia.org/wiki/Heartbleed
DMA attackhttps://en.wikipedia.org/wiki/DMA_attack
cold boot attackhttps://en.wikipedia.org/wiki/Cold_boot_attack
Spectre vulnerabilityhttps://en.wikipedia.org/wiki/Spectre_(security_vulnerability)
https://github.com/veorq/cryptocoding#solution-8
OpenBSDhttps://man.openbsd.org/explicit_bzero
FreeBSDhttps://www.freebsd.org/cgi/man.cgi?explicit_bzero
glibchttp://man7.org/linux/man-pages/man3/bzero.3.html
Windowshttps://docs.microsoft.com/en-us/previous-versions/windows/desktop/legacy/aa366877(v=vs.85)
libsodiumhttps://download.libsodium.org/doc/memory_management
https://github.com/veorq/cryptocoding#use-strong-randomness
https://github.com/veorq/cryptocoding#problem-9
failurehttp://www.debian.org/security/2008/dsa-1571
https://github.com/veorq/cryptocoding#bad-solutions-1
Mersenne Twisterhttp://crypto.di.uoa.gr/CRYPTO.SEC/Randomness_Attacks.html
http://www.random.org/http://www.random.org/
Diehardhttp://www.stat.fsu.edu/pub/diehard/
NIST's testshttp://csrc.nist.gov/groups/ST/toolkit/rng/stats_tests.html
backtracking resistance and prediction resistancehttps://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-90Ar1.pdf
https://github.com/veorq/cryptocoding#solution-9
Ed25519http://ed25519.cr.yp.to/
getrandom()http://man7.org/linux/man-pages/man2/getrandom.2.html
arc4random()https://man.openbsd.org/arc4random.3
getentropy()https://man.openbsd.org/getentropy.2
getrandom()https://www.freebsd.org/cgi/man.cgi?getrandom
getentropy()https://www.freebsd.org/cgi/man.cgi?query=getentropy&sektion=3&apropos=0&manpath=FreeBSD+12.0-RELEASE+and+Ports
RAND_bytes()https://www.openssl.org/docs/man1.0.2/man3/RAND_bytes.html
check the return valueshttp://jbp.io/2014/01/16/openssl-rand-api
Mining Your Ps and Qshttps://factorable.net/weakkeys12.extended.pdf
built-in PRNGhttp://software.intel.com/en-us/articles/intel-digital-random-number-generator-drng-software-implementation-guide
LibreSSLhttp://libressl.org
rand_shttps://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/rand-s?view=vs-2019
BCryptGenRandomhttps://docs.microsoft.com/en-us/windows/desktop/api/bcrypt/nf-bcrypt-bcryptgenrandom
CryptGenRandomhttp://msdn.microsoft.com/en-us/library/aa379942.aspx
RtlGenRandomhttp://msdn.microsoft.com/en-us/library/windows/desktop/aa387694%28v=vs.85%29.aspx
https://github.com/veorq/cryptocoding#always-typecast-shifted-values
https://github.com/veorq/cryptocoding#problem-10
demonstration implementation of SHA-1 in rfc3174https://tools.ietf.org/html/rfc3174
https://github.com/veorq/cryptocoding#solution-10
Readmehttps://github.com/veorq/cryptocoding#readme-ov-file
Activityhttps://github.com/veorq/cryptocoding/activity
93 forkshttps://github.com/veorq/cryptocoding/forks
Report repositoryhttps://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fveorq%2Fcryptocoding&report=veorq+%28user%29
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.