{"bundle_type":"pith_open_graph_bundle","bundle_version":"1.0","pith_number":"pith:2018:KANSFR4L53RM4LEIWAXIOLSLGQ","short_pith_number":"pith:KANSFR4L","canonical_record":{"source":{"id":"1805.10941","kind":"arxiv","version":4},"metadata":{"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.DS","submitted_at":"2018-05-28T14:28:04Z","cross_cats_sorted":[],"title_canon_sha256":"855b5f89027de5d24a7d53253fec7eaf4493b6d390e87bfab6c1e0b00220a219","abstract_canon_sha256":"1f65f672088d94cfa50729d9a27219d7004c60232937849422ce873e3fe513d3"},"schema_version":"1.0"},"canonical_sha256":"501b22c78beee2ce2c88b02e872e4b3400453f74af93aca8509958bc91a64b6d","source":{"kind":"arxiv","id":"1805.10941","version":4},"source_aliases":[{"alias_kind":"arxiv","alias_value":"1805.10941","created_at":"2026-05-17T23:44:00Z"},{"alias_kind":"arxiv_version","alias_value":"1805.10941v4","created_at":"2026-05-17T23:44:00Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.1805.10941","created_at":"2026-05-17T23:44:00Z"},{"alias_kind":"pith_short_12","alias_value":"KANSFR4L53RM","created_at":"2026-05-18T12:32:33Z"},{"alias_kind":"pith_short_16","alias_value":"KANSFR4L53RM4LEI","created_at":"2026-05-18T12:32:33Z"},{"alias_kind":"pith_short_8","alias_value":"KANSFR4L","created_at":"2026-05-18T12:32:33Z"}],"events":[{"event_type":"record_created","subject_pith_number":"pith:2018:KANSFR4L53RM4LEIWAXIOLSLGQ","target":"record","payload":{"canonical_record":{"source":{"id":"1805.10941","kind":"arxiv","version":4},"metadata":{"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.DS","submitted_at":"2018-05-28T14:28:04Z","cross_cats_sorted":[],"title_canon_sha256":"855b5f89027de5d24a7d53253fec7eaf4493b6d390e87bfab6c1e0b00220a219","abstract_canon_sha256":"1f65f672088d94cfa50729d9a27219d7004c60232937849422ce873e3fe513d3"},"schema_version":"1.0"},"canonical_sha256":"501b22c78beee2ce2c88b02e872e4b3400453f74af93aca8509958bc91a64b6d","receipt":{"kind":"pith_receipt","key_id":"pith-v1-2026-05","algorithm":"ed25519","signed_at":"2026-05-17T23:44:00.181830Z","signature_b64":"v0RcV9ksUM1gksOnu6tgnaEMBk0op+HG4Q29JXs7aT9yzXo5AwZQt+EUz+GMO6sVsvvUkDjenzlCfJ0H830KDA==","signed_message":"canonical_sha256_bytes","builder_version":"pith-number-builder-2026-05-17-v1","receipt_version":"0.3","canonical_sha256":"501b22c78beee2ce2c88b02e872e4b3400453f74af93aca8509958bc91a64b6d","last_reissued_at":"2026-05-17T23:44:00.181171Z","signature_status":"signed_v1","first_computed_at":"2026-05-17T23:44:00.181171Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"source_kind":"arxiv","source_id":"1805.10941","source_version":4,"attestation_state":"computed"},"signer":{"signer_id":"pith.science","signer_type":"pith_registry","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"created_at":"2026-05-17T23:44:00Z","supersedes":[],"prev_event":null,"signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"BD9gm7qnyaLkKANwkgqAB204JcIyhXi5CMNFdFfELtuV7+ereB086PsxcahJoPhIXr0RUU4bq6+Imw0utpx4BQ==","signed_message":"open_graph_event_sha256_bytes","signed_at":"2026-05-27T02:46:50.405701Z"},"content_sha256":"6717fe64696f5d95e251dbe276ad4407b1832f82d9ecf9b87c46640a0069beea","schema_version":"1.0","event_id":"sha256:6717fe64696f5d95e251dbe276ad4407b1832f82d9ecf9b87c46640a0069beea"},{"event_type":"graph_snapshot","subject_pith_number":"pith:2018:KANSFR4L53RM4LEIWAXIOLSLGQ","target":"graph","payload":{"graph_snapshot":{"paper":{"title":"Fast Random Integer Generation in an Interval","license":"http://creativecommons.org/licenses/by/4.0/","headline":"","cross_cats":[],"primary_cat":"cs.DS","authors_text":"Daniel Lemire","submitted_at":"2018-05-28T14:28:04Z","abstract_excerpt":"In simulations, probabilistic algorithms and statistical tests, we often generate random integers in an interval (e.g., [0,s)). For example, random integers in an interval are essential to the Fisher-Yates random shuffle. Consequently, popular languages like Java, Python, C++, Swift and Go include ranged random integer generation functions as part of their runtime libraries.\n  Pseudo-random values are usually generated in words of a fixed number of bits (e.g., 32 bits, 64 bits) using algorithms such as a linear congruential generator. We need functions to convert such random words to random in"},"claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"1805.10941","kind":"arxiv","version":4},"verdict":{"id":null,"model_set":{},"created_at":null,"strongest_claim":"","one_line_summary":"","pipeline_version":null,"weakest_assumption":"","pith_extraction_headline":""},"references":{"count":0,"sample":[],"resolved_work":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","internal_anchors":0},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"author_claims":{"count":0,"strong_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"builder_version":"pith-number-builder-2026-05-17-v1"},"verdict_id":null},"signer":{"signer_id":"pith.science","signer_type":"pith_registry","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54"},"created_at":"2026-05-17T23:44:00Z","supersedes":[],"prev_event":null,"signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"1B3ltIt0azg26LjtnGpYw7IVB3/WSS7QF3vL9+kN6fwjPlQzIhPw0IMNSyNMHFxlEKaDq5iaOA/96QfBVbLuAw==","signed_message":"open_graph_event_sha256_bytes","signed_at":"2026-05-27T02:46:50.406112Z"},"content_sha256":"fcb3ae95b26878e75430f5bcf758f953f164009a803cc6ca476dbbb11698b44c","schema_version":"1.0","event_id":"sha256:fcb3ae95b26878e75430f5bcf758f953f164009a803cc6ca476dbbb11698b44c"}],"timestamp_proofs":[],"mirror_hints":[{"mirror_type":"https","name":"Pith Resolver","base_url":"https://pith.science","bundle_url":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/bundle.json","state_url":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/state.json","well_known_bundle_url":"https://pith.science/.well-known/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/bundle.json","status":"primary"}],"public_keys":[{"key_id":"pith-v1-2026-05","algorithm":"ed25519","format":"raw","public_key_b64":"stVStoiQhXFxp4s2pdzPNoqVNBMojDU/fJ2db5S3CbM=","public_key_hex":"b2d552b68890857171a78b36a5dccf368a953413288c353f7c9d9d6f94b709b3","fingerprint_sha256_b32_first128bits":"RVFV5Z2OI2J3ZUO7ERDEBCYNKS","fingerprint_sha256_hex":"8d4b5ee74e4693bcd1df2446408b0d54","rotates_at":null,"url":"https://pith.science/pith-signing-key.json","notes":"Pith uses this Ed25519 key to sign canonical record SHA-256 digests. Verify with: ed25519_verify(public_key, message=canonical_sha256_bytes, signature=base64decode(signature_b64))."}],"merge_version":"pith-open-graph-merge-v1","built_at":"2026-05-27T02:46:50Z","links":{"resolver":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ","bundle":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/bundle.json","state":"https://pith.science/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/state.json","well_known_bundle":"https://pith.science/.well-known/pith/KANSFR4L53RM4LEIWAXIOLSLGQ/bundle.json"},"state":{"state_type":"pith_open_graph_state","state_version":"1.0","pith_number":"pith:2018:KANSFR4L53RM4LEIWAXIOLSLGQ","merge_version":"pith-open-graph-merge-v1","event_count":2,"valid_event_count":2,"invalid_event_count":0,"equivocation_count":0,"current":{"canonical_record":{"metadata":{"abstract_canon_sha256":"1f65f672088d94cfa50729d9a27219d7004c60232937849422ce873e3fe513d3","cross_cats_sorted":[],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.DS","submitted_at":"2018-05-28T14:28:04Z","title_canon_sha256":"855b5f89027de5d24a7d53253fec7eaf4493b6d390e87bfab6c1e0b00220a219"},"schema_version":"1.0","source":{"id":"1805.10941","kind":"arxiv","version":4}},"source_aliases":[{"alias_kind":"arxiv","alias_value":"1805.10941","created_at":"2026-05-17T23:44:00Z"},{"alias_kind":"arxiv_version","alias_value":"1805.10941v4","created_at":"2026-05-17T23:44:00Z"},{"alias_kind":"doi","alias_value":"10.48550/arxiv.1805.10941","created_at":"2026-05-17T23:44:00Z"},{"alias_kind":"pith_short_12","alias_value":"KANSFR4L53RM","created_at":"2026-05-18T12:32:33Z"},{"alias_kind":"pith_short_16","alias_value":"KANSFR4L53RM4LEI","created_at":"2026-05-18T12:32:33Z"},{"alias_kind":"pith_short_8","alias_value":"KANSFR4L","created_at":"2026-05-18T12:32:33Z"}],"graph_snapshots":[{"event_id":"sha256:fcb3ae95b26878e75430f5bcf758f953f164009a803cc6ca476dbbb11698b44c","target":"graph","created_at":"2026-05-17T23:44:00Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"graph_snapshot":{"author_claims":{"count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57","strong_count":0},"builder_version":"pith-number-builder-2026-05-17-v1","claims":{"count":0,"items":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"formal_canon":{"evidence_count":0,"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"paper":{"abstract_excerpt":"In simulations, probabilistic algorithms and statistical tests, we often generate random integers in an interval (e.g., [0,s)). For example, random integers in an interval are essential to the Fisher-Yates random shuffle. Consequently, popular languages like Java, Python, C++, Swift and Go include ranged random integer generation functions as part of their runtime libraries.\n  Pseudo-random values are usually generated in words of a fixed number of bits (e.g., 32 bits, 64 bits) using algorithms such as a linear congruential generator. We need functions to convert such random words to random in","authors_text":"Daniel Lemire","cross_cats":[],"headline":"","license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.DS","submitted_at":"2018-05-28T14:28:04Z","title":"Fast Random Integer Generation in an Interval"},"references":{"count":0,"internal_anchors":0,"resolved_work":0,"sample":[],"snapshot_sha256":"258153158e38e3291e3d48162225fcdb2d5a3ed65a07baac614ab91432fd4f57"},"source":{"id":"1805.10941","kind":"arxiv","version":4},"verdict":{"created_at":null,"id":null,"model_set":{},"one_line_summary":"","pipeline_version":null,"pith_extraction_headline":"","strongest_claim":"","weakest_assumption":""}},"verdict_id":null}}],"author_attestations":[],"timestamp_anchors":[],"storage_attestations":[],"citation_signatures":[],"replication_records":[],"corrections":[],"mirror_hints":[],"record_created":{"event_id":"sha256:6717fe64696f5d95e251dbe276ad4407b1832f82d9ecf9b87c46640a0069beea","target":"record","created_at":"2026-05-17T23:44:00Z","signer":{"key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signer_id":"pith.science","signer_type":"pith_registry"},"payload":{"attestation_state":"computed","canonical_record":{"metadata":{"abstract_canon_sha256":"1f65f672088d94cfa50729d9a27219d7004c60232937849422ce873e3fe513d3","cross_cats_sorted":[],"license":"http://creativecommons.org/licenses/by/4.0/","primary_cat":"cs.DS","submitted_at":"2018-05-28T14:28:04Z","title_canon_sha256":"855b5f89027de5d24a7d53253fec7eaf4493b6d390e87bfab6c1e0b00220a219"},"schema_version":"1.0","source":{"id":"1805.10941","kind":"arxiv","version":4}},"canonical_sha256":"501b22c78beee2ce2c88b02e872e4b3400453f74af93aca8509958bc91a64b6d","receipt":{"algorithm":"ed25519","builder_version":"pith-number-builder-2026-05-17-v1","canonical_sha256":"501b22c78beee2ce2c88b02e872e4b3400453f74af93aca8509958bc91a64b6d","first_computed_at":"2026-05-17T23:44:00.181171Z","key_id":"pith-v1-2026-05","kind":"pith_receipt","last_reissued_at":"2026-05-17T23:44:00.181171Z","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","receipt_version":"0.3","signature_b64":"v0RcV9ksUM1gksOnu6tgnaEMBk0op+HG4Q29JXs7aT9yzXo5AwZQt+EUz+GMO6sVsvvUkDjenzlCfJ0H830KDA==","signature_status":"signed_v1","signed_at":"2026-05-17T23:44:00.181830Z","signed_message":"canonical_sha256_bytes"},"source_id":"1805.10941","source_kind":"arxiv","source_version":4}}},"equivocations":[],"invalid_events":[],"applied_event_ids":["sha256:6717fe64696f5d95e251dbe276ad4407b1832f82d9ecf9b87c46640a0069beea","sha256:fcb3ae95b26878e75430f5bcf758f953f164009a803cc6ca476dbbb11698b44c"],"state_sha256":"bd7a97b0f74632f323fbc45e0613ce458313f758582756498a91385d9cec5dea"},"bundle_signature":{"signature_status":"signed_v1","algorithm":"ed25519","key_id":"pith-v1-2026-05","public_key_fingerprint":"8d4b5ee74e4693bcd1df2446408b0d54","signature_b64":"3fnJtFv3BC7XzMQVBXZKVXBS/c8gPvWnUsj8UAQWTk2RZ5j4Y8trAMapuK9nC1Effxnp5GmxniGwlLX0ClxXDg==","signed_message":"bundle_sha256_bytes","signed_at":"2026-05-27T02:46:50.409521Z","bundle_sha256":"3f08a7ecf32b14414164c55e8c37095f010b8cbe631255049ede809ae4ed61fb"}}