900 new features in WINDEV, WEBDEV and WINDEV Mobile 2026
131 N e w f e a t u r e W D W B WM • SHAMIR'S SECRET SHARING: CONFIDENTIALITY AND RESILIENCE This process consists of dividing a secret into m shares and setting a minimum number of shares (n <= m) to reconstruct the original secret. Shares can take many forms: password, email address, bitcoin private key, document, or basically any type of string. This process guarantees both confidentiality (the secret cannot be guessed with fewer than n shares) and resilience (it can be reconstructed even if some shares are lost). Benefit of this new feature in version 2026: Perfect secrecy 132 N e w f e a t u r e W D W B WM • SHAMIR'S SECRET SECRET: WLANGUAGE PROGRAMMING WLanguage includes three new functions for creating shares and reconstructing secrets: ShamirCreateShares , ShamirGeneratePrimeNumber, ShamirReconstructSecret . The creation of shares is based on a prime number. The ShamirGeneratePrimeNumber function generates this prime number, taking into account the secret value, the number of shares to be generated (m) and the number of shares required for reconstruction (n). Benefit of this new feature in version 2026: Proven secret sharing method SHAMIR'S SECRET SHARING: DIVIDE A SECRET INTO SHARES & SET A MINIMUM NUMBER OF SHARES TO RECONSTRUCT THE SECRET 133 N e w f e a t u r e W D W B WM LEGACY MODE: PASS-BY-REFERENCE WLanguage has always supported a parameter-passing method by reference. The parameter is a reference to the caller's variable. When the parameter value is modified, the parameter is also modified for the caller: variable, control, item, etc. Although widely used, this method can lead to unwanted effects. Benefit of this new feature in version 2026: Compatibility 134 N e w f e a t u r e W D W B WM NOW AVAILABLE: PASS-BY-VALUE Legacy mode (by reference) is kept for compatibility purposes, and remains the default mode for new projects. However, passing parameters by value is recommended, as this method is more secure and prevents modifying elements of the caller by mistake. Benefit of this new feature in version 2026: Added security 135 N e w f e a t u r e W D W B WM USE BOTH MODES Regardless of the parameter-passing mode defined in the project, you can use the other mode at any time, using the WLanguage by value and by reference keywords. Benefit of this new feature in version 2026: Compatibility and security PASSING PARAMETERS BY VALUE 29 Wh a t ' s n e w i n W I ND E V 2 0 2 6 WE B D E V 2 0 2 6 W I ND E V Mo b i l e 2 0 2 6
Made with FlippingBook
RkJQdWJsaXNoZXIy NDQ0OA==