Version française
Home     About     Download     Resources     Contact us    
Browse thread
Big_int a^x mod m
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Julian Assange <proff@i...>
Subject: Big_int a^x mod m

 val (**/) : num -> num -> num 
 val power_num : num -> num -> num
   Exponentiation

The num library documentation doesn't seem to support modular
exponentiation. This is seems to be an unusual oversight, and means
the library isn't useful for real-world cryptographic applications.

Is anyone working on adding mod exp's? Or are there other bigint
ocaml libraries?

Cheers,
Julian.