Home Online Manual
Top
Back: lcmN
Forward: chineseRem
FastBack: atkins_lib
FastForward: hyperel_lib
Up: crypto_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.12.3.4 powerN

Procedure from library crypto.lib (see crypto_lib).

Usage:
powerN(m,d,n);

Return:
m^d mod n

Example:
 
LIB "crypto.lib";
powerN(24,15,7);
==> 6