# ECDSA implementation in Simplicity-std

**URL:** <https://community.simplicity-lang.org/t/ecdsa-implementation-in-simplicity-std/98>\
**Category:** General\
**Created:** [October 23, 2026, 2:37pm UTC](https://community.simplicity-lang.org/t/ecdsa-implementation-in-simplicity-std/98 "2026-10-23T14:37:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stringhandler](https://avatars.discourse-cdn.com/v4/letter/s/c57346/32.png) [@stringhandler](https://community.simplicity-lang.org/u/stringhandler)\
**Post date:** [October 23, 2026, 2:37pm UTC](https://community.simplicity-lang.org/t/ecdsa-implementation-in-simplicity-std/98/1 "2026-10-23T14:37:22Z")

</div>

I’ve created an implementation of ECDSA verification in SimplicityHL. The main purpose was to verify oracles that use this signature scheme instead of the bip0340 style that Simplicity supports via jets. In future, maybe an `ecdsa_verify` jet can be created.

> <https://github.com/BlockstreamResearch/simplicityhl-std/pull/72>
>
> Adds a method to verify ecdsa signatures. This is primarily to support signing o…f oracle statements that use ECDSA instead of Schnorr. At some point, we may consider creating a more efficient jet, but at least this will be usable in the meantime.
> 
> Adds a number of tests, as well as specific cases of flaws found in other implementations.

---

<div class="post-metadata">

**Author:** ![schoen](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@schoen](https://community.simplicity-lang.org/u/schoen)\
**Post date:** [October 27, 2026, 4:03pm UTC](https://community.simplicity-lang.org/t/ecdsa-implementation-in-simplicity-std/98/2 "2026-10-27T16:03:18Z")

</div>

@apoelstra just happened to mention that there was an ECDSA verifier written in low-level Simplicity as a demo some years ago, before SimplicityHL even existed! Is that still available somewhere? It’s probably not actually directly relevant here, as a SimplicityHL implementation is presumably what we’re going to want in the standard library, not least so that end users can read it!

---

<div class="post-metadata">

**Author:** ![schoen](https://avatars.discourse-cdn.com/v4/letter/s/b3f665/32.png) [@schoen](https://community.simplicity-lang.org/u/schoen)\
**Post date:** [November 1, 2026, 3:19am UTC](https://community.simplicity-lang.org/t/ecdsa-implementation-in-simplicity-std/98/3 "2026-11-01T03:19:26Z")

</div>

One of our colleagues did propose at some point that we could have a way to invoke low-level Simplicity code from within SimplicityHL, which might be a little like inline assembly in C (some compilers’ `asm()` statement) or other high-level languages. So I guess we _could_ choose to put optimized low-level Simplicity implementations of comparatively computationally-intensive functions into the stdlib, if the compiler came to support some notation for this. I’m not sure if this is a good tradeoff.
