Measures Concepts
GitHub icon

Low*

Low* - Programming language

< >

Low* is a programming language created in 2008.

#1771on PLDB 16Years Old


Example from the web:
let chacha20 (len: uint32{len ≤ blocklen}) (output: bytes{len = output.length}) (key: keyBytes) (nonce: nonceBytes{disjoint [output; key; nonce]}) (counter: uint32) : Stack unit (requires (λ m0 → output ∈ m0 ∧ key ∈ m0 ∧ nonce ∈ m0)) (ensures (λ m0 _m1 → modifies1 output m0 m1 ∧ m1.[output] == Seq.prefix len (Spec.chacha20 m0.[key] m0.[nonce]) counter))) = push_frame (); let state = Buffer.create 0ul 32ul in let block = Buffer.sub state 16ul 16ul in chacha20_init block key nonce counter; chacha20_update output state len; pop_frame ()

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout